It depends. I’ve the experience of food poisoning, but it didn’t last long. My gf and I had dinner in a Thai restaurant last week. I love green chicken curry and ate most of them. Everything is just right until when I was back home , 2 hours after the dinner.
Suddenly I was hit by sudden nausea with mild abdominal cramping and I started to sweat. I had to stop what I was doing because of the urge to vomit. But it’s just the urge. I couldn't lie down so I knelt still at the foot of my bed with my head on the bed. Burping gave temporary relief. Another urge to vomit hit me. I rushed into the bathroom and tossed everything up. I immediately felt better n seemed totally recovered. The entire episode from onset of symptoms lasted 45 minutes.