Any advice that we give is based on the information you have given us. You should always follow advice you have been given by a health professional.
As you have a long term health problem and you have been gaining weight and your weight is already a risk to your health – it is important that you take action.
The first thing to do is to stop putting on more weight and to keep your weight stable for a while. After that point you can think about losing weight.