dark spots on my inner thighs

lil

i noticed i have some dark spots on my inner thighs and i assume it’s from shaving?? any tips on how i can lighten it up or prevent it?