Thigh pain

I am almost 39 weeks pregnant...my thighs hurt and I noticed that the inside of my thighs (closer to the vaginal area) are a little raw and red...does anyone know what this may be?? Has anyone else gotten this??? It could be because I’ve gained so much weight but I’m not sure?? HELP😰🤰🏼.