There are simultaneous high pressure contractions at different parts of the esophagus. The result can be considered analagous to trying to have water pass through a hose in which there is a clamp. Symptoms of spasm include pain with swallowing as wellas chest pains unrelated to swallowing that can simulate a heart attack. Sometimes, spasm can be related to acid reflux and that is the rationale for using Losec. More commonly there is no identifiable cause for the spasm.
Therapy consists of different smooth muscle relaxants e.g. nitrates.
Often the response is incomplete relief of symptoms. Recently, surgical therapies have been proposed but the ultimate benefit of this approach has not yet been determined. This information is presented for educational purposes. Ask specific questions to your personal physician. Only your physician can provide specific diagnoses and therapies.