How to Stop Eating When not hungry

I used to be really good at staying in my regime- kept weight off for 3 years straight. However, now I can’t stop putting things in my mouth, I find myself eating stuff when Im not even hungry, it’s like I just want to taste things. But even when I do that, it doesn’t bring me any joy or satisfaction: it’s like a weird food FOMO that’s not worth anything and also made me gain 30 lbs in the past two years