It depends. There is no magic.
If you go back to eating they way you did, then you'll put weight back on.
If you use what you learnt on the programme and maintain it, then you want.
If you put weight back on after dieting then it's not really that diets fault. it's more likely the dieters fault.