What is to much weight gain?

i used to weigh 175 and now im 200 pounds im only 25 weeks this much gain weight i feel like is bad i do eat healthy and unhealthy foods should i just cut off the unhealthy foods entirely?