Ughhh

Im currently 24 weeks and last visit they told me i have gained too much weight so i started walking on a treadmill everyday for 30 minutes and eating 1500 calories or less a day and switched from white bread to whole wheat and regular spaghetti to wheat spaghetti (not that i eat it often) and i eat lots of fruits and veggies, i usually have salad every day and take fiber supplements started drinking nearly a gallon of water a day and only drinking fat free milk and still have gained 6 pounds in one month. Ughhhh😣😣😣😭 im already over weight