What else can I do to relieve pain in my knee other than pain medication?

Depends. Rest, heat or ice and therapy may be needed. If you are having recurring pain, get evaluated or re-evaluated by a proper provider such as orthopedist or sports medicine doctor.
Knee pain. Other that medication---, brace, topical agents - creams, gels, liquids, low level laser (cold laser) and injections. Discuss with you pain doctor.