bleeding after sex

So me and my bf had sex for our third time (he took my virginity)( yus we used a condom) and we have not had sex in like a month and a half and we did it again recently and it hurt. Later I went home and saw I was minor bleeding. Nothing wrong now it's just kind of raw/sore. What do you think happened ??