Chafing?

Cayla
Recently at school in gym, we had to run 3 miles, and I forgot to bring an extra share of clothes. So I ran in my skinny jeans. On the last mile my jeans started to get super tight, and where my pantie line started to hurt? Is it chafing? Is there like any remedies or something for it cause day 3 and it still hurts to walk.