The answer depends on which viral illness is in question. Some viruses last for 24 hours while others take several months to run "their course." Many viruses lay dormant and never leave until the host has passed away....there just is no cure for some...at least not yet!
Gastroenteritis is usually caused by a virus. There are hundreds of viruses that can cause it. The illness can last from 3-14 days, depending on the particular virus and the health of the person.
A virus or illness causing fever and headache: flu.
A very long time.
The length varies. I've had a chronic illness for 6 years and should grow out of it. Some are life long.
herpes lasts forever
Probably until the person who had the virus is cured. But you never know how long bacteria can last.
How long you remain contagious after suffering an infectious illness depends on the illness you've caught. Expand your question to specify the infection you need to know about, or check with your doctor or health clinic.
i think it is about like a week , then i think the virus goes away
Zombies are mythological creatures and, as such, do not exist.
Haemorrhagic Fever
A virus can last anywhere from a couple of days up to several weeks. It really depends on what kind of virus it is and if the child has had the virus recently or not.
Viral illness 2 weeks, Bacterial with treatment 2 weeks unless serious. Serious illnesses are not included in my answer.