What are the rules if a male gynocologist doctor helps in delivering a baby. The mother conceived with Allah’s mercy by getting a treatment from this male doctor. This is of course when there was no female doctor available with that speciality.
Or out of ignorance if the couple decided to go this doctor.
How can one repent..

Do sincere istighfar.
Allah is ever so Merciful