If u took ipills sometime back in the past ,no periods could be due to harmonal disturbance caused by them.,get an ultrasound done to rule out for PCOs or any other underlying issues ,along with
Thyroid checked and get back to us for further advice on this if needed.