First thing is first, calc TDEE. Start with that and eat that amount of food. Use something to track what you are eating and do it.
are you training? If not, start.
If you continue to see weight gain, add in some HIIT training if you are able to.
IF you eat correctly, most things should...