Gaining weight

I'm losing so much weight and I'm not trying to. What can I do to gain weight back??