Some pain in upper arm

I have been experiencing some pain in the outside of my upper arm when I try to raise my whole arm, pr do the stretch where you pull your elbow across your body. It dosent hurt when i pitch, any advice for gettin rid of this?