If it's not snapped off, you can use a stud puller. Or sometimes just thread 2 M8 nuts on, tighten them against each other then back it off with the inside bolt. If you need a stud puller drop me a PM, mine are cheap rubbish but they do work
If it's snapped off, you may be in what I like to think of as A World Of Pain