Describe the pain , muscular? The joint? Focus where it hurts and warm up before a ride , like most of sports it's more about technique than brute force, although doing some strength exercises won't hurt you, lifting can be beneficial to your cycling life, arms, shoulders ,back...not only legs.