31 weeks and my dr decides to retire this month

I’m 31 weeks and was just given the news my dr is retiring this month! Now I’m stressing out over finding a new dr that will take me this far along, plus I’m considered high risk due to having my 4th c section and I’m getting a tubal. I just don’t want any dr to perform my surgery but hoping I can find one with this short time frame. Can the dr even do that to his patients without notice?!!