Prescription for the pill

I'm going to try and get a doctor's appointment to get my next prescription for the pill and get a check up, but what happens if I can't get an appointment on time bc of my awkward shift patterns at work? Could I still buy the pill from the pharmacy without a prescription or??

I've got a week and a half until I need my next box of pills but I'm so worried I won't be able to get it in time!