How much of it snapped off?
Do you have the header out yet?
Pictures of the situation would help a lot.
Ok here's what I'd do depending on severity of the situation.
If there's enough stud left, try to get two nuts on it With header off and maybe pull it out tha way after soaking in penetrating oil. If his does not work then in my mind, you have two choices.
First being drill into it and use an easy out. If this works, yay day is saved and you'll be on your way.
If it does not work, then you'll have to drill it out. Then re-tap the hole, or maybe even use a helicoil or time sert.
Be extra careful when drilling, to be dead on straight. If it's crooked, the stud new stud won't line up properly and you might have a hell of a time getting the header on.
Those are my suggestions. Maybe someone else has a better idea