Pain in Knee under skin during pregnancy

This is so random but for weeks I thought I have had a bruise on my knee cap everytime I would get in my bed with my knees or anything if I touch it it hurts. Well it’s still happening and I look and rhere is absolutely no bruise and it hurts so bad. I’m 37 weeks