Period and sex

So I have the IUD and haven't had sex in a about 2 years.  I also haven't had sex in a few months. Last night I had sex and today I got my period. Is that coincidence or no?