You can buy a ticket for the ferry to Borkum at the ferry terminal or in advance from home. This can be done both by telephone and online.