Knee problems

When I do squats my right knee feels like it’s got something in there that’s pulling and feels very uncomfortable. I’m trying to modify but I don’t want to creat more damage. It also feels the same when I stretch the front of my thigh. Any suggestions on how to take care of this so I can still get a great workout in without causing any damage?