Fertile

I know you have your fertile days a couple days after your period. Can you still get pregnant if it's on a day where youre not fertile or can you get pregnant any day