Most likely you'll have to helicoil it. It's super easy to do. Youtube it if you have to. You can find a helicoil kit just about anywhere, especially online.
Another option is to just through-bolt it with a nut on the other side of the flange, that's probably the quick/easy but janky way to do it.