The best motivation is just wanting it. Get obsessive - work out your macros so you know what to eat, record what you eat in spreadsheets, decide targets, get a killer free weights workout going (minimum of 3 times a week) and you'll be sorted. Focus on it continually in every area of your life. That way you'll HAVE to go to the gym, because you've made so much effort to eat right/track it etc.