Stomach flu can persist up to ten days, while food poisoning usually only lasts for a day or two. If your symptoms continue for more than two days, you probably have stomach flu.