Any advice I’m 32 weeks today and I have choletasis

Hi I’m 44 last pregnancy my 3 rd and I found out a couple months ago I have a high risk issue my liver is not filtering the bile out so I’m itching a lot !! They said they will give me meds and take him out at 37 weeks and watch me closely and everything will be ok

So I’m 32 weeks today Friday and I was supposed to have a c section in 5 weeks but I had my blood work tests and the levels are high so they said I’d have him at 36 weeks so in 4 weeks and watch me two times a week very closely

So now I’m nervous

1. Will baby be ok coming out this early at 36 weeks and what happens if he has to come before

2. Did anyone have this how did it work out

Thanks