Uncomplicated gastric ulcers take up to two or three months to heal completely. Duodenal ulcers take about six weeks to heal. An ulcer can temporarily heal without antibiotics. But it is common for an ulcer to recur or for another ulcer to form nearby if the bacteria are not killed.