I feel compelled to vomit after eating

For a while I’ve hated my body and my belly. I’ve exercised day in and day out before, barely ate and done both at each time. Now I’m not sure if this should go here or not, but here I go. Recently I can’t seem to do anything to lose weight again. I lost 10 pounds last year but I’ve gained it back over the summer. Im 17, 5’7” and weight between 140-150. I wanna get to 130-135. Mainly for the past week I’ve felt compelled to vomit every time I eat, no matter if it’s small or big. I love food but hate it at the same time. I feel like I look 20 pounds heavier, everyone says I look great. My boyfriend says I have body dysmorphia and that I need to learn to love myself. I need help and find ways to do that. I don’t want to vomit after every meal, but I can’t stop myself. How do I stop this habit?