If you need painkillers to treat long-term (Persistent) soreness – for example, discomfort from arthritis – you must see a GP. They may be able to prescribe stronger painkillers or for an extended length than what you can buy over the counter.You must avoid combining Xanax with a number of other prescription drugs because of their interactions.