When laryngospasm is coincident with a cold or flu, it may be helpful for some sufferers to take acid reflux medication to limit the irritants in the area. If a cough is present, then treat a wet cough; but limit coughing whenever possible, as it is only likely to trigger a spasm. Drink water or tea to keep the area from drying up.