confused

Can you still get pregnant if you're not in your fertile week? I've read a couple sites that said you only can pregnant if your ovulating cause the egg only survives for 24 hrs?