How badly bent?
If the bend is preventing the plug from being inserted into a port and not able to make the applicable TRRS connections you might try fixing it yourself.
You may be able to gently straighten the bent plug and get the connection back to normal. ONE IMPORTANT THING: Do not use the normal port to reinsert the bent plug. Use the female end of a female to male extension cable as the target connection port.
By doing so, you are only risking possible damage to the extension cable instead of the normal audio port. Would not be helpful if the bent plug gets seriously stuck in the normally used port.
Earbuds ------cable ------- bent male plug --> Female port -----extension cable -----male plug (not bent) ----->...