Alcohol.. when to eat? What to eat?

I know this might sounds irrelevant but it’s been many times in row when i drink i should vomit having nausea ruining the day and empress myself i’ve never been this person this is new to me and I can’t handle it .. but i want to know when exactly to eat before drinking what’s the perfect timing to eat before start drinking and what’s the perfect meals to have to not vomit .. Excuse my shitty English