Question About the pill and ttc

Leanne

New to the pill......I ovulate in 4 days and stopped the pill yesterday. Can I get pregnant the day you dont take your pill? Or does it take a few days to no longer work?