Many surgeons recommend giving up smoking, alcohol, or drugs before surgery, but researchers have found this may also increase the need for pain medication.