Managing ulcers is mostly about pain management and allowing the ulcer time to heal. If your doctor has prescribed you medication, make sure to take it as advised. If you have a peptic ulcer or aphthous ulcer (canker sore), you should avoid the foods that cause you pain, such as spicy or acidic food. Other activities such as smoking or drinking alcohol can irritate a peptic ulcer and slow down the healing process. Talk to your doctor about the many other ways to help you manage your ulcer on a daily basis.