Switching birth control

Are you protected while switching BC? I recently switched from the patch to the pill and was wondering if I’m still protected or do I need to wait 7 days