For most cases of food poisoning goes away within 2 days unless the food poisoning is more severe.
If the food poisoning lasts longer than 2 days then you should seek medical attention to make sure you're not in serious harm.
Although most cases of food poisoning are not life threatening you can die from food poisoning if it's too severe.
I had a friend die from poisoning since he didn't seek medical attention and his food poisoning was more severe.