Its a lifestyle change not a diet. Don't stop the diet / exercise when you get to the "target" weight.
This idea sucks when you are looking at a plate of lettuce leaves - but you should also avoid extreme diets and extreme exercise as it is unsustainable.
in addition to this, start by making small, but permanent changes to your lifestyle over time, if you change everything at once then of course you'll revert pretty quickly