C sections

Do they put in a Foley catheter when u need a c section?