Exhaust studs with headers?

Well, ****! I tried 3 times to weld a nut to the broken stud. It breaks off every time I try to turn it with a wrench. Hopefully I can get a drill and tap in there so I don't have to pull the head. Why does this crap always seem to happen to me? Haha...