Fell off the wagon..

Ra

Recently i've lost all motivation to go to the gym.. i dont know why, but i hype myself back up to going and then i lose it immediately. I dont know whats going on, i loved getting the rush, i loved knowing what i was doing was helping me get to the goal i wish i to be again, yet it's just gone. Is there any tips or tricks to get back on to the wagon of going other than just simply going; like how do you motivate yourself etc.