According to WebMD, if the laryngeal spasm is caused by gastroesophageal reflux disease (GERD), proton pump inhibitors or prokinetic agents may be prescribed in order to manage GERD and treat laryngospasm. However, if it is caused by anesthesia, it can be treated by moving the head to open the airway.
WebMD explains that some examples of proton pump inhibitors include Nexium, Prevacid and Dexilant. These drugs decrease the production of stomach acids and make the fluids that back up into the esophagus less corrosive. On the other hand, prokinetic agents reduce acids by enhancing the movement of the digestive tract.
WebMD also provides lifestyle recommendations, such as eating less, limiting alcohol intake and quitting smoking, as well as elevating the head of the bed by a few inches to manage GERD and prevent laryngeal spasms.