If you have a volt/ohm meter check continuity. unplug first. if you have continuity look for broken wire going to element. if element looks like solid rod these are called calrod elements. to fix this you need new element and a special hi temp connector. you might buy this from a repair shop. question is would it be cheaper to replace than fix. If its a glass element similar fix. Hope this helped
Before starting repair on your auto if you are going to keep it for a while invest in a repair manual. Also Auto Zone has a how to section on repairs. You can also clean these bolts with scotch brite pads and use some anti seize.
not tightening the fuel can cause this. find a mechanic that can clear code. then don't forget to tighten fuel cap. On some cars leaving fuel cap loose causes oxygen sensor to pop a code. Try it never know