This isnt a fix-all, but you can have an auto-command to unban yourself every so many minutes.
as preventative measures, I would only OP people you highly trust or have known for awhile, and dont give people extreme permissions.
Hopefully you wont get banned anymore after this