Can you still get pregnant if you are not ovulating?

You need to ovulate within 4 days on the outside of having sex to get pregnant.