Anemic- iron supplement and weight gain

Since I am anemic my doctor told me to start taking iron supplement. However, for the past 2 weeks since taking the supplementsI’ve noticed I’ve been gaining weight extremely fast and I’ve been eating the same as before. Has anyone notices the same?