You have not mentioned what kind of a stomach virus you have. You can get a stomach virus due to a variety of reasons. Usually the virus comes through food that you have eaten. For this reason it is a good idea to eat only food that has been cooked in hygienic conditions. Food that is left uncovered should be avoided. A stomach virus can cause a stomach upset and in most cases this is manifest in diarrhea. In some cases a stomach virus can lead to vomiting. Either of these reactions is very draining and should be attended to immediately. If you have suffered from several bouts of vomiting or diarrhea, you should consult your doctor at the earliest.
In most cases starving is the best way to cure a stomach virus. If you suffer from cramps, then using a hot water bottle can give you some relief. Drink plenty of water and ensure that the water is boiled. You can also drink diluted buttermilk. You should avoid drinking tea or coffee and should stay away from oily, spicy food. Stomach cramps can be treated with a paste made of asafetida powder and water. Applied on the stomach, this can help get rid of gas and give you relief.
answered by G R