The following is from the Book of Sirach (Ben Sira) and Catholic Teaching follows partly from it:
Make friends with the doctor, for he is essential to you;*
God has also established him in his profession.
From God the doctor has wisdom,
and from the king he receives sustenance.
Knowledge makes the doctor distinguished,
and gives access to those in authority.
God makes the earth yield healing herbs
which the prudent should not neglect;
Was not the water sweetened by a twig,
so that all might learn his power?a
He endows people with knowledge,
to glory in his mighty works,
*Through which the doctor eases pain,*
and the druggist prepares his medicines.
Thus God’s work continues without cease
in its efficacy on the surface of the earth.
My son, when you are ill, do not delay,
but pray to God, for it is he who heals.b
Flee wickedness and purify your hands;
cleanse your heart of every sin.
Offer your sweet-smelling oblation and memorial,
a generous offering according to your means.c
Then give the doctor his place
lest he leave; you need him too,
For there are times when recovery is in his hands.
He too prays to God
That his diagnosis may be correct
and his treatment bring about a cure.
Whoever is a sinner before his Maker
will be defiant toward the doctor.
So, it is true that God increased the sufferings and sorrows of women from Eve onward, but it is also true that through His mercy he gave doctors knowledge, skill and wisdom to relieve pains and sufferings. We now have electricity, heat, air conditioning, refridgerators, grocery stores, clothing stores, etc., all through the gifts and mercy of God who gives all knowledge to men.
Regarding epiderals during labor, my wife had one and they remove pain but there is a possibility of paralysis from it, so it is up to you.
There are women, whom I admire, who choose not to use any medication or epiderals or cesarian sectoins for giving child birth, but of course they take a risk.