Being put under for C-section

I was wondering if anyone has had to be put under for their C-sections??

It's a big possibility that I will end up needing a C-section, but I know I'll need to be knocked out because of anxiety/panic attacks and I have some questions.

1.) How long were you under

2.) Was the father still allowed in the room

3.)Do they keep baby in the nursery till you are awake?

4.) How long after you woke up did you get to see your baby