gym and gain weight

So I've been eating right and going to the gym but I've found out I've gained weight. Is it Normal? It's been two weeks and I've put on 3kg.