Gaining weight

izz
I am 5'1 and 19 years old! I use to weigh 130lbs and now I weigh 142lbs! I feel like I gained weight in my stomach and love handles and inner thighs! i tried diets but can't stick to them! My stomach is still flat but Im worried it will change soon! Any tips?