How do I lose weight??

Does anyone have any advice/tips on losing weight?? I’ve tried everything. I go to the gym often, I don’t eat a lot and don’t eat junk all the time and I keep gaining weight!!! I need some useful tips ASAP