Ultram 50mg (tramadol) is a pain medicine similar to an opioid. It acts in the central nervous system (CNS) to relieve pain. Ultram is used to treat moderate to severe pain in adults. The extended-release form of tramadol (Ultram ER) is for around-the-clock treatment of pain. Ultram ER is not for use on an as-needed basis for pain.