HELP!!! RASH

One day I went to the bathroom and pulled down my pants and see this weird red rash all on my thighs and inner thighs near my bikini area. I got scared and checked my actual bikini area but it isn't anywhere on my actual parts and the rash just outlines my underwear. I've never had this before and it isn't chub rub because I was wearing pants. It doesn't itch or hurt in any way, I was rubbing it today to see if it was dry and my skin started to flake a little bit in one are on my inner thigh. I'm not sexually active at all but I've had this rash for 2 days now and I started my period a day before it if that has any significant meaning to the problem. Please comment what you may think it is and what I can do to treat it!!!! THANK YOUUU!!