Assuming you have checked the obvious coolant is ok?
If so then it could be a few things from a thermostat to a faulty water pump.
If it gets to hot it will activate a clever overheating strategy, and as a result you will notice a decrease in performance.
Martin