Make the ferry crossing from Lewes part of a Cape May trip, with time at both ends for the terminal and onward travel.
Plan the Delaware Bay crossing before setting the rest of your Cape May itinerary. Decide whether you need a vehicle on the New Jersey side and check the rules for your departure. Give yourself enough time to reach the terminal and board without rushing.
After arriving, leave time to get from the ferry terminal to the part of Cape May you want to explore. The historic streets, the beach, and the lighthouse make different outings. Save one for later if the ferry schedule gives you only a short window.