I am a bit suspicious of the heating up with a flame advice. Likely do more harm than good. If the nail still has a head then first thing is to try and pull it. Claw hammer, crowbar/wrecking bar, slide hammer nail puller or even mole grips. If you then snap off the top leaving some nail in the...