More information would help to identify and diagnose your problem. If you're not already aware of this, the dash temperature gauge is not a useful indicator of engine temp. It has three states: you're cold, you're fine, and you're fucked. It is possible for the engine to reach uncomfortably warm temperatures while the dash gauge is in the normal range.
To start with I recommend buying a Bluetooth dongle that you can plug into your OBD-2 port and download a free engine monitoring app onto your smart device (Torque seems to be a popular choice). This will allow you to read live data on your engine that will be more precise and accurate than the dash gauges. It will tell you exactly how hot your engine is getting. This whole setup can be had for less than $20 and is a powerful tool for monitoring your engine and diagnosing an array of problems.
The range of possible causes for your hot engine temps is broad. It could be a $15 thermostat or you could need a complete head gasket job. Without knowing more about your specific symptoms, other potential culprits could include a failing fan clutch, blocked radiator, or failing water pump. That's if you're lucky. If you're unlucky, it could be a cracked block. But again, not enough information yet to assess from afar.