Ask a Mayor to invite you, or stand at your chosen town location and use:
/town new <name>
Stand in the chunk to claim and run:
/town claim
/town deposit <amount> /town add <player>
Town upkeep is 10 N per claimed block per Towny day. Bank actions must be performed inside your town. See Banks.