Hi,
It actually depends on how you lost weight?what sort of diet you tried? What are you doing now to maintain..
Have you been exercising? intensity and workouts both would matter alot.
Without knowing why it would be very difficult to say anything about the weight gain.
Next Steps
kindly consult a qualified Dietitian/Nutritionist for better assesments and results.