Don't take pain meds before. You need to feel the pain. That's your knee telling you that it's too much for it right now. You can take the pain meds afterward if you need them. Most of the time, if you listen to your knee and obey it, you won't need those pain meds afterward.