Taking antihypertensive medications such as nifedipine and methyldopa can have a baby, while taking medications such as ACEIs, ARBs and beta blockers may have an effect.
Whether or not you can have a baby on antihypertensive medication is a matter of considering the type of antihypertensive medication you are taking. For the safety of medications for pregnancy preparation, nifedipine is often recommended clinically, and the use of ACEIs (angiotensin-converting enzyme inhibitors), ARBs (angiotensin II receptor blockers), and beta blockers may have varying degrees of effect on the fetus.
Finally, it is also important to note that if blood pressure fluctuates a lot during the preparation for pregnancy, it is not recommended to have a child right away, as there is a rise in blood pressure that can aggravate hypertension after pregnancy, causing unnecessary risks.