Talk with your health care team about your pain comfort level before you go home. When you are at home, some medications need to be taken around the clock to prevent pain for a few days or weeks after surgery.