The first thing that comes to your mind when you decide to lose weight is going on a diet.