Either it is a league server, then you need to be signed up for the league and will get the password emailed or sent by private message.
Or it is a private event, so you need to know who is hosting the event and ask an admin from the responisble team for a password (e.g. Fragmaster is holding an Event each Friaday on the (FM) Events Server. To get the password for the server, you need to be on our teamspeak server, where the password is announced prior to the event.)
The third option is, that the server is passworded because the players on it just don't want other people to enter.
Check the server name and use google to find a website of the team hosting the server. Try to contact them and get a pass.