when did you know that you have to go through c section?

girl
i am first time mom and my dr doesnt told me yet that i have to go through c section or natural?in which week did you know that you are having c section?