An injury that happens when pedaling could not possibly be caused by how you pedal.
Start from that premise. See where it gets you.
You can learn to pedal or go to the surgeon. Your choice.
Oh, does pedaling require anything more than jumping on a bike and doing whatever? It's all good. Everyone is different. There is no wrong way to do it. And then you go to the doctor.