Pain comes in many forms. Pain may be due to an injury, a toothache, joint inflammation due to arthritis, a muscle strain, hemorrhoids or monthly periods. All of these types of pain can be disruptive, unpleasant and make it hard to sleep. Just as pain comes in a variety of forms, there are many types of pain relief. You can take pain-relief medications orally, apply a hot or cold pack or apply a topical pain relief medication directly to the affected area.