I have a question

It’s currently 5 and I just woke up from a nap and I started having a coughing fit bad . That wouldn’t affect my birth control pill I took at 12 right ? I mean I was just coughing but I felt like I was dying