Irregular periods

I started having irregular periods since October 14th when I was put on antibiotics and since then I've had irregular periods but I've never had this before as I take the pill regularly. 
Is it just the antibiotics causing this or not?