Making a lot of assumptions, I'm guessing that this is a aluminium casting and the thread has 'stripped' through being over-tightened or pulled out. retapping won't put the metal back and the resulting thread will be very weak.
The best repair is an M8 helicoil insert, drill oversize, tap for the helicoil ( a spring-like insert with a thread on both insert and outside), screw in the helicoil with the special tool (which inserts it easily, but leaves it tight in the hole), you are left with an M8 threaded hole that will the stronger than the original one.
Helicoil sets typically come with the drill, tap, insertion tool and several inserts so they are about £30, but as they can save you £££s…
Here's a supplier, make sure you get teh right thread pitch as well as diameter: Tracy Tools
Neil