How do you stop wanting junk food?

Hi, 22y F here and I feel addicted to junk foods. I used to be a sweets person but now I crave doughy cheesy foods everyday. I have so many goals that heavily rely on me losing weight but I can’t seem to kick this habit. I cook but even with food made I order that pizza. I will only eat those foods if I go out with friends and family. I’m evening turning into the Pillsbury dough boy and I just can’t stop. Please help me!