Iv been doing squats for a long time but recently I have decided to go deeper and heavier. My knees have been hurting for the past couple weeks. Is this something that will go away once i get used to going deeper? Or is it most likely a fault with my technique?

thx