Check your grounds first. Pull each one off clean it down to bare metal then put them back on. Including the battery terminal.

Could be a bad temp sensor too.