Struggling with weight loss

So my doctor is telling me i need to lose weight which i already know i need to do especially with the genetic health problems i could get but the problem is i'm terrible with diet and exercise and i have to get down to 65kgs 😣 (i'm almost 90kgs) does anyone else struggle with their weight but have found a way they can stick to and steadily lose weight? Any tips?