Left MFP-Gained 10 pounds-I´m Back

Hi Group. I lost around 45 over a 7 month period. I religously entered my diet and walked regularly.
No excuses other than I stopped the routine. I have gained 10 pounds back and need to get back on track immediately.
I know how to do it. I obviously don´t know how to maitain it. Thanks for the input!