why does sex hurt all of a sudden?

A week ago, I lost my virginity to my boyfriend and it didn't hurt at all. We tried to have sex again today and it hurt way too much. It wasn't a stretching kind of pain, either it was pain on the inside and it was so bad I started crying. What's the issue?