period/health

my period is late by over a week and i took a test and it said I'm not pregnant

and i had sex with my boyfriend today and about 15 minutes after i started bleeding so I thought i finally started my period but I stopped bleeding about 30 minutes later

has this happened to amyone else before and does anyone have an idea about whats going on?