Hypothyroidism and getting pregnant

My periods are now unpredictable since I had my son. I have hypothyroidism and I don’t take medicine for it right now. Can I still get pregnant or does it prevent me from ovulating?