Stomach flu, or gastroenteritis, is mainly treated by staying hydrated, getting plenty of rest, and gradually reintroducing bland foods like toast or rice. Over-the-counter medications can help with symptoms, but it's essential to consult a doctor before taking them. If symptoms persist or worsen, seek medical attention.