OK first as soon as you feel pain, stop whatever youre doing, and rest until its gone. Never train on injuries.
Knee pain can come because of bad form. It sounds like youre putting too much pressure on your knees. Remember to put the weight in your heel like i say in the tutorial.