Sweet tooth Help

Ka

A few months ago I lost about 15 pounds but now I’ve gained about 5 pounds back. (I’ve been slacking I know) BUT Lately my sweet tooth has been out of control . And I need help before I gain it all back 😩. And any tips on gaining muscle when I lost weight I lost my butt and I want to get it back .i do squats and such , but any specific food ? I want my 4 pack back