put a small washer on the stud first. weld it to the broken stud - even if it is below the surface. place a nut on top of the washer and weld it through the inside of the nut until it is near full to the top . let it cool a few seconds [ like 10-15 ] then while it is still very hot, turn the nut out and it will bring the stud with it with ease .