How to get my period back??

Lily

So I haven’t got my period for 3 months and I’m not pregnant and I went to the doctor and she was 99% sure it’s because I’ve lost too much weight 😩 So does anyone have any tips for getting my period back/ how to gain weight?

Thank you!!