Some hypertension pills, such as ACE inhibitors and ARBs, are not recommended during pregnancy or breastfeeding due to potential risks to the fetus or infant. It's essential to consult a healthcare provider for guidance on hypertension management during these times.