I’m trying to lose weight but for now i’m just gaining some, is it normal ?

I’m 18F. Recently i started to dislike how my body was looking and decided to start to do a bit of exercice and watch what i was eating. I really tried hard to only eat non-caloric stuff and stopped eating chocolate and candies during the day. I thought it would be enough to lose 1 or 2 kg and look a bit more in shape for the summer.
But for now, after one month, i only gained weight . I talked about it with my mother who said I should just stop eating so much. But i read a lot of articles about diet saying that reducing quantities would not work efficiently. So I don’t really know what I should do. Is it because it’s only been one month? Honestly I thought there wouldn’t be any results after one month, but i didn’t think I would gain weight. So i’m just sad and worried it will be hard to even go back to my old weight. Any advices ? Is there a specific diet i should do ?

I’m trying to lose weight but for now i’m just gaining some, is it normal ?