First, find out what makes you want to achieve anything in life. When you have a firm understanding of what drives you to accomplish your goals, you will know how to motivate yourself. Whether the drive comes from finding comfort or from feeling like you have control over your life, it is wise to have a firm understanding of yourself and your values.
We each have our own ideas about what is important in our lives. Some people think that money is the answer to everything, so they live their lives and make their decisions based on money. Other people may want to become an important part of their society, so this drives them to achieve whatever they want in their lives.
Knowing what you want and what your values are is a good beginning of learning how to master your own motivation. When you can control your motivation to overcome difficulties, you will be able to accomplish what you want in life.