To book a ferry to mainland Europe with P&O Ferries, customers can visit the official website and select their desired route, dates, and vehicle type. They can then proceed to make the payment and receive their booking confirmation.