Weight gain in pregnancy

My doctor told me to only gain 10-20 lbs during my pregnancy. Well I’ve gained 13 and I’m only 23 weeks. I’m stressing out. Any recommendations on this?? My doctor put in my head that I shouldn’t be gaining a lot and it’s stressing me out. I’m already working out 3x a week and eating healthy.