Obgyn wanted my bp meds change because of TTC

Crystal

My obgyn wanted my bp med changed from lisonopril. My doctor changed my medicine to nifedipine er but 3 days taking it I have swelling of ankles. So he switched me again to methyldopa which I have never heard of this or the nifedipine. I was wondering has anyone took methyldopa and if so did it help with bp and did you have side effects?

Thanks