Chafing Solutions?

Went on my longest run yet (10miles🥰) and my thighs got so chafed - any tips to prevent this in the future? Much appreciated y'all😆