Thinking about starting medication but not sure how long to wait

A month ago my doctor told me I was deficient in iron and B12 and I started taking those vitamins. She said it affects mood and energy.

People have told me it takes 6 months for them to really kick in.

So I’m thinking maybe my anxiety would get better just from the vitamins?