did sex fix my period??

my period was always irregular. it started being regular three months ago right after I lost my virginity. could that be why it's been regular?