Ulcers are very difficult to treat. There is no proven technique that will eliminate ulcers. They can occur as a result of trauma or due to a viral source. Depending On their cause there are specific medications that can shorten their duration. Left alone, ulcers will generally diminish and disappear in two weeks.