There are two types of people in the world (and a mix of those two types)
People who are motivated by goals and things they want and people who are motivated away from things they don’t want. Some people move away from pain, others move towards pleasure.
If you are an away from type person, you will never fully achieve your goals. You will often slip back into your old patterns, only to move away from them again. As an away from person you will only take action as long as the displeasure is bad enough. Once you have moved away from the displeasure enough, there will not be much displeasure and you will lose motivation to move away from it.
If you are a towards person you will move towards your goals until you reach them. You will then set new goals and move towards them. And even if you have some sort of displeasure, you will set a goal that is the opposite of the displeasure and move towards that goal.
How did you become one type of person or the other? At some point you chose, either unconscious or consciously. So how do you become a person to move towards your goals so you can consistently stay motivated? You choose. Create goals that you like and inspire you and focus on them and move towards them.
You can also do a technique called NLP or Neuro Linguistic Programming and change these away from’s and towards in your non-conscious mind. If you are interested feel free to contact me at firstname.lastname@example.org and I can help you because I do NLP.
Because if all you are doing is moving away from, you will never really get anywhere. Because when you get far enough away from the thing, you will go back to it so you can move away from it again.