Sooo help

My mom has always told me have sex you get pregnant, can you get pregnant at anytime?