If you got banned, usually there is no way to get unbanned unless an OP does /pardon. You can usually appeal on the server forums, depending on if they have a ban appeals system. Servers sometimes have unbans, where you can buy an unban - check the server's website and see if they have one.