Answer:
Praise be to Allah, the Lord of the World; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
If the doctors who are reliable and excellent in their profession confirm that your situation requires that you stop any future pregnancy, or your life will be in danger, in this case you are permitted to act according to the advice of these specialists. This act then is not considered as cutting off the progeny, which is forbidden in Sharia. The above ruling is based on many basics of Sharia.
Allah knows best.