Spotting ??

So I had sex for the first time yesterday and obviously bled a little and I’m super sore today but I’m still bleeding on and off? My period is in 5 days and I never bleed like this before or anything so I’m wondering if it’s just from the sex or ?