If you notice that certain activities contribute to your pain, or that you feel worse at certain times of the day, you can take medication prior to the activity (or time of day) to help prevent the pain from occurring. You may also be prescribed a long-acting pain medication with a short-acting one that you take when you need it. Always be sure to follow your doctor's instructions.