The side effects of pain medicine vary depending on the medication. Common side effects can include drowsiness, constipation, nausea, and dizziness. Opioids, in particular, can have more serious side effects.