Pain and blood after sex

So earlier today i had sex and afterwards there was some pain and i went to the bathroom and noticed pink tinted blood. Later on I noticed that the bIood darkened to a red. m supposed to start my period tomorrow, so I thought maybe the sex triggered it to start now? There is still some slight pain present. Update: throughout the night I couldn't sleep because of cramps so i took some midol, it helped a little and i went to sleep about 3:30am. Its 10am now and im still having cramps and i feel as though im going to throw up. This has to be just the period and im just paranoid that it had something to do with sex.
Any opinions or comments?