Blood after sex

Okay so here is the run down, a couple weeks ago I had sex for the first time after about 9 months (didn’t have a baby I just wasn’t active for so long) it hurt really bad but I figured it was Bc I waited so long anyways I had sex again tonight and I took a shower after and I was bleeding like not bad but not a little and it didn’t hurt like last time it felt good so does anyone have an idea of why I was bleeding. Side note : my hymen was already popped