One of the ways to stay motivated is to have list of goals and the things you are going to benefit from achieving the goals closer to you. Anytime you feel depressed you can simply reach out to the list to go over things you will benefit from the goals.