Sex on period

So I'm in my teens & yesterday morning I got my period 9 days early (VERY LIGHT) it was so light that i hardly even needed a panty liner.. later in the day I hungout with my boyfriend and we had sex (for the first time) and afterwards i bled like i normally do on my period for around an hour.. when i went home later i noticed i was hardly bleeding anymore and today my period is literally gone. Anyone know why??