How to stay motivated

Everytime I’m excited about something I go hard for about 3 days to a week then after I just don’t care but I really wanna loose weight and get my drivers license but I always get in that I’ll do it later moods ( studying and working out) and that turns into forgetting about it entirely so how do I stay motivated !