First, eliminate all solid food. Second, obtain potassium safely and effectively from tea, bullion, and ginger ale. Third, obtain sodium from saltine crackers or salted pretzels. Fourth, drink a lot of water. Cranberry juice and orange juice also contains potassium, while bullion and tomato juice are good sources of sodium.
Vomiting also brings the threat of dehydration.
If it is severe and continuing, your doctor should be notified. You should know also that diarrhea may be symptomatic of partial obstruction or an acute attack of gastroenteritis. Since the treatment of these two entities is entirely different, a proper diagnosis should be made as rapidly as possible if obstruction is suspected because of localized cramping. A physician should be sought immediately. If you do not know, cheek it out with your doctor Do not play games.