Stomach pain

So i have been forgetting my pill recently, -I haven’t had sex in months- so i’ve been doubling up with isn’t good. Today i have experienced minor stomach pain and threw up around 12Am, could this be due to the pill and me missing it too often ? or something else ?