This causes dehydration. Stay away from beer, wine, and hard liquor when you are trying to replace fluids from diarrhea or vomiting. It is best to sip your beverages rather than drink them down quickly. Using a straw might be helpful. Experiment with drinking cold and hot liquids to see which is best for you.
Many people can take liquids best when they are at room temperature.
Other ways to get the fluids you need are by sucking on ice cubes and popsicles, or by eating jello or sherbet. You can freeze your favorite beverage in ice cube trays to make your own popsicles.