Eating Disorder mindset

I suffered with both anorexia and bulimia when i was younger and a bit in my late teens. After i recovered i was diagnosed with what's called disordered eating. Basically i have a weird relationship with food. Anyways i was happy when i lost 10 pounds in my early pregnancy but now im gaining weight. This week i gained 2 pounds and its freaking me out. This is bad and i know it, but i want to cut back on the amount of food im eating so i dont gain so much. I literally will freak out if I gain more than 15 pounds with this pregnancy.