Ultram is used to relieve moderate to moderately severe pain. It also may be used to treat pain caused by surgery and chronic conditions such as cancer or joint pain. Ultram is used to treat moderate to severe pain. Ultram ER (extended-release) is for around-the-clock treatment of pain that is not controlled by other medicines.