Does sex throw of your cycle?

My period has been irregular lately and I just want to know if sex has anything to do with it. We don't have sex often and not for that long 😂😂 if that matters