What should I do if I gain weight after a month of fitness?
Generally don't gain weight.
If you look at it getting fat, it may be that the muscles are not fully stretched after fitness; It's normal if you just gain weight. When your muscles grow to a certain extent, you will start to burn fat quickly.