about 30$ to do it yourself, maybe less.
Removing a thermostat is not an expensive job. You can buy the supplies and do it yourself for an even cheaper job, however, electricians would do this job for a very reasonable price.
Was the gasket replaced? Have you checked the hose and the heater core. Is everything tightened down?
The thermostat is stuck open and needs to be replaced.
water pump
You might also have a bad heater core that needs to be replaced. You can either attempt to flush it out or just have it replaced. Heater cores are not extremely expensive, but I would recommend changing the thermostat at same time. Thermostats are normally $10 to $20 where a heater core can be anywhere past $50.
Would need to know if car was overheating before waterpump and thermostat was replaced.
because the water pump is not working properly....
If you personally changed it, I would guess theres some air bubbles blocking the hoses.
Year, make and model would help us help you.
Assuming it did not overheat before you replaced thermostat and water pump you may have installed the thermostat backwards. It is also possible the cooling system wasn't refilled properly and was air bound.
This question is not complete. . Need to know if you've replaced radiator, thermostat, hoses etc. Are you asking this question *after* yo checked the thermostat, changed, added or drained the system?
Ingeneral, the fan will run only if the temperature of the radiator is above the normal range. If the fan is running, then the radiator must be over temp unless the radiator fan thermostat or it's relay is defective. If the radiator truly is over temp then you have a larger over-heating problem You state the thermostat was replaced. if you replaced the fan thermostat then either the radiator really is over temp and it is doing what it should, or there is a problem with the thermostat-fan relay or switch. If you replaced the engine thermostat that controls the flow of coolent between the engine and the radiator, then that probably wasn't your problem and you should look elsewhere for an overheating cause. I would start by determining if the engine actually is overheating or not. If it is, I would look for coolent system problems like the engine thermostat (if you didn't replace it already), water pump, leaks, scale build up in the radiator, or blockages in the system. If the engine isn't overheating then I would consentrate on the fan, fan thermostat and relays.