Please read!!!

Does anyone know how to lose weight if you are on medication that makes you hungry and gain weight at a snap of a finger?I think I’m considered obese or overweight for my age and height.(I am 5’3 and around 150).I have been going to the gym 4-6 days a week for about 2 hours.I have been going for at least 6 months and I seem to gain more weight.I have tried diets but my medication will make me pass out of I don’t eat(note that I have to take high dosages of this).I can’t get off my medication or I will go into breathing trouble and suffocate basically.Im open to anything because I can’t do things that I want to like wear a bathing suit without a shirt over it or wear a crop top because I don’t feel confident.I feel like everyone is staring at me.Most times I don’t go to the beach and I can’t do much active stuff because my weight.My mom is saying if I want to get off this medication that I need to lose weight but I can’t!!She just says I eat to much and I should just eat small for a while (she said about 1-2 salads a day with light toppings and some fruit for breakfast).I open to anything honestly.I used to be able to do cheer and basketball but now all I can do is golf.I love golf but I also get my exercise in because on a normal day I walk 2-4 miles.Anyway I’m open to anything.Just want some ideas and opinions.By the way I’m 13 so if I to go somewhere someone would take me.