There are lots of things that can cause this problem. First lets check the simple things. Look for leaks in cooling system. With engine cool check the coolant level. If low add more run engine and look for leaks. If no leaks then look for crimped hoses. The next thing to check is thermostat. Then your water pump which both can be checked by opening the radiator cap with engine cool to prevent burn injuries, then crank engine and see if water circulates after 5 min or longer. When proper engine temp is reached the thermostat will open if it does not open then engine will overheat and you will not see water circulating. Also if engine cools down when you turn your heater on then is a indication your thermostat or water pump is malfunctioning. Also when engine gets hot does the cooling fans on radiator turn on if not then that could be a problem which could be a fuse a relay or a broken wire. If it is your water pump then have a professional do the work because tiiming belt has to be removed and is a chore and you can damage your engine severely if you do not know what you are dong. The last but least problem could be is your head gaskets could be blown. The way to check that is see if there is a oil residue in your coolant or water in your oil which normally turns your oil a yellow to whitesh goo on your stick or you will see water dropplets on stick. Also you can do a compression check.