Fertile window

Can I have unprotected sex when I'm not on my fertile window and still avoid pregnancy?