Diet pills while younger

I use to take diet pill while I was younger and lost a lot of weight and stopped having my period for two months I finally stopped and gained the weight back an got my regular period. But I'm afraid I messed my body up some how