weight loss

So I have been struggling trying to loose weight. I'm 5'2 and 142.8 lbs, and according to my doctor that's over weight. I've been trying to cut back on carbs, sugar, and processed foods but I'm having trouble restraining my self. I am also not able to run or squat due to medical issues.i need to loose roughly 30 pounds. I need advice! Please.