There's often no specific medical treatment for viral gastroenteritis. Antibiotics aren't effective against viruses. Treatment first involves self-care measures, such as staying hydrated.