Rash on my inner thigh, hurts/how do you get one there just shaving?

Folliculitis? If this happened after shaving then this could be folliculitis. A bacterial cause may be likely. You should have someone examine you and possibly do a culture on any inflamed lesions. It would be a good idea to stop shaving for a time until this has been examined and treated.