Is there anytime I can have unprotected sex without getting pregnant?

I heard that after you ovulate you can't get pregnant until the next time and I was just wondering if that was true. Because I've never had unprotected sex with my boyfriend and wanted to know if it would be possible without too big of a risk.