2 things I can think of which need to be checked: your coolant and your thermostat.
my car isn't steaming only in drive but not overheating.
replace ur radiator
Your car is overheating when idle because there may be a lack of oil or water in the engine. It can also be a problem with the engine itself. If your car is overheating, simply contact a wrecker or a road assistance company. The police are also available to assist you.
Would need to know if car was overheating before waterpump and thermostat was replaced.
You should not buy a car with overheating problems. This means that it will not serve the purpose and will develop other mechanical problems.
your car is broken
It means the car is overheating.
There are several reasons why your car may be overheating. Check the thermostat to be sure it isn't stuck. If the car revs up and down, the timing may need to be adjusted.
Either the water pump impeller is loose on it's shaft, or you have a leaking head gasket.
To prevent the engine from overheating.
Yes
Replacing a bad water pump can help to stop a motor from overheating. Hopefully that was the cause of the overheating. If it does not stop the overheating, try replacing the thermostat. Make sure you have the proper mix of antifreeze and water, the radiator filled with it. Check the level of coolant FIRST. Next, the hoses, and third the thermostat. Then, disconnect a hose and see if, by starting the vehicle, if there's water pressure. If not, its water pump time!