How your actions can be changed by your emotions and thoughts?

How to regulate this in your life. And bring a change in the Actions you take.