 Treatment of the condition depends upon the underlying cause; it can involve antibiotic treatment when Helicobacter pylori is related to an ulcer, endoscopic therapies (such as dilation of the obstruction with balloons or the placement of self expandable metallic stents), other medical therapies, or surgery to resolve the obstruction.The main symptom is vomiting, which typically occurs after meals, of undigested food devoid of any bile.A history of previous peptic ulcers and loss of weight is not uncommon.