Scheduled c section

I have to have scheduled c sections bc of a heart condition. I’m only 23 weeks but I was wondering if my OB could go ahead and schedule it? Or if we have to wait til closer to time?