I am a power lifter and I was squatting and I had a sharp pain in my lower back on the right side, now when I lift my leg it hurts a lot?

Disc herniation? It is possible that you injured a disc. There is risk with lifting heavy weights and back injuries. Take a rest from training and avoid lifting heavy items and especially twisting simultaneously.