Squats can hurt your knees if they are not performed correctly or if you have pre-existing knee injuries. To prevent knee pain, make sure to maintain proper form and alignment during the exercise, and start with lighter weights or bodyweight squats.