Things real actually medical doctors told me to do when they were trying to force me to lose weight to fix a health problem that was not fixed by weight loss at all:
Intermittent Fasting, namely only eating during specific, arbitrary time frames and completely restricting everything other than water the rest, so starving yourself.
Eating on smaller plates so I feel like I ate more than I did.
Stop eating all fruit because it's sweet.
Eat only spinach, fish, and blueberries.
Keto, despite that being a specific diet for kids with epilepsy that is usually only successful under the strict and constant guidance of a dietician. I was not referred to a dietician by the doctor who suggested it.
Low-carb in general which is, at it's core, starving yourself.
Stop eating so much fried food. Without asking me what I was eating already which was, incidentally, not primarily fried foods.
To be happy about my colon cancer scare because the severe, painful, chronic diarrhea was great for helping me lose weight.
Most doctors don't know anything about nutrition at all. The doctor who tried to get me to do intermittent fasting? After going gluten free I told her I was worried about not getting enough folic acid and iron as I know a lot of grains are fortified with those and I won't be getting that supplemented in my diet like that anymore, and asked if she had any advice, and IN FRONT OF ME JUST GOOGLED WHAT FOODS HAVE FOLIC ACID AND IRON IN THEM and then told me as long as I eat veggies I should be fine. A woman who just told me to starve myself didn't even know what foods have folic acid or iron in them off the top of her head.
And even nutritionists aren't safe, my second one ended up being my last because she admitted she said she had no idea how to help me because she "just microwaves some lettuce with cheese" and that's a meal for her and me doing things like *checks notes* eating at chipotle was confusing.
Doctors will just fucking give you eating disorder advice and pretend because they have a degree it's fine but fr, see a registered dietician, those guys are the only ones actually qualified to give you advice on what you eat outside of gastroenterologists and allergists.
Most people's nutrition knowledge is just feelings that they pretend are facts, and that includes doctors.