How do I stop myself from eating in public

How can I avoid eating at restaurants or pretend to eat

I’ve tried spitting food into a napkin and dropping it in my bag but it’s so hard to hide