The preferred embodiment provides apparatus (10) for ablating a vessel (80) by generating heat within a vessel to cause blood clotting to occlude the vessel. The apparatus includes an electrically resistive element (30) at the distal end (20) of the apparatus (10), the resistive element (30) being uncoated and therefore in bare form. An alternating current supply (24) feeds electrical current through the resistive element (30) to cause heating of the element (30) and surrounding blood or tissue. The alternating current power supply (24) preferably is balanced about a centre point so as to create a net sum of alternating pulses of zero. It has been found that the supply of alternating current to the resistive element (30) reduces or eliminates corrosion of the resistive element (30) in blood as the resistive element (30) is heated. Use of conductive coatings for a sacrificial anode can be avoided.