You need to fix your form. I have been squatting consistently for over a year and I have never had any knee problems, or pains in my knees after squatting. Post a video of your form, and read this: Click
Also, watch these: Video 1 Video 2 Video 3 Video 3 Pt. 2
Also, how deep are you going?