Quick question

Can sex bring on a period? This may sound super stupid but my bf and I had sex and I was on the last day of my pill and then I started bleeding and it's like my period started. I started my new pack of pills but the bleeding hasn't stopped. Is this my period?