Off pill then on pill randomly?

Patient: My girlfriend stopped taking birth control over a month ago for no reason and she just now wants to start taking them again for no reason, will it be effective if she just randomly starts using the same pills again or does she have to visit a doctor again?

Symptoms: None