They are usually caused by viruses and are not helped by antibiotics. Usually, they go away in a few days and can be taken care of by changing the diet. Occasionally these symptoms can be caused by food poisoning, antibiotic treatment or excessive juice drinking. Other times, one or both of these symptoms may last for 24 - 48 hours.
Diarrhea can sometimes last for several days to weeks.
The symptoms of gastroenteritis may also include a fever, stomach cramps, and body aches. You may even start feeling better and then return to vomiting or diarrhea again. A temporary loss of appetite is common. The virus is spread easily, especially among family members. Be sure to separate eating utensils and wash hands well.