Masturbating and period

Does masturbating make your period come late because I stop doing it for like two weeks because my period was supposed to come one this week and it hasn’t came on yet and I am virgin but I also been taking these pills Trokendi for my migraines could that be stopping my period or is it something else?