Pregnancy

Can you ONLY get pregnant if you were ovulating? that’s what my counselor told me , and now I’m genuinely curious