Thrombosed hemorrhoids vaginal birth

I’m almost 39 weeks FTM and have thrombosed hemorrhoids. My doctor lanced them last week and they aren’t healing. I’m panicking about a vaginal birth with them inflamed like this. Has anyone had this happen so close to delivery and still able to deliver vaginally or was a C-section recommended?