Could be a lot of things but did you get a good fitting when you got the bike? If not that could be the problem. I had a lot of pain until I got mine fitted. Not to harp on fitting but it was for me an eye opening experience in riding with no pain.
thanks. I did some adjustment on my cleats and my saddle. I think the rest is caused by my rusty cadence/spin. Right side doing too much work. Got to get my pedal stroke smoother.