lutera pill

Is it still okay if I was taking it but spit it out then took it and it'll be Okay? a fly was in my straw and I spit my pill out it didn't dissolve so it's still okay right? I'm sorry this is a super stupid question but I don't want to mess up my pack