Look up the
birth control pill your girlfriend is on online
and see what it says about how long it must be taken (consistently) to be fully effective. If the birth control has not had time to gather its full effectiveness, there is no guarantee your girlfriend was protected. Furthermore, even if it is one that requires shorter than a month, a missed pill or just taking the pill at varying times from day to day can add some small level of risk.