The formula for achieving anything you want is simple. Put in mind that in the beginning you might experience lots of bad emotions and that the only motive available might be your will power ,however, if you kept going another source of motivation will appear as a result of your momentum. (read Success leads to success).
You should put all of your emotions aside then run forward as much as you can and sooner or later you will reach a point where most of your bad emotions will disappear as a result of the achievements you made.
if i were to summarize all this in one point it would be, keep going forward whatever happens and you will achieve your goals.