You follow the rules and pass a moderator test. Ask one of the existing moderators to administer it, and if you pass, you are given the role after roughly a day's processing.
That process — good standing plus an application assessed by current staff — is standard across most browser MMOs, and it means the best thing you can do beforehand is simply be active and well behaved. Moderator positions are almost never advertised openly; they are offered to players the staff already trust.