Ovulation and period??

Amberly

I know you don't ovulate when you get pregnant but does anyone know when that happens? Like could it happen before a pregnancy test can detect the pregnancy hormone?