Very few vacationers arrive in their own boats or are otherwise totally self-sufficient for sailing in the Mediterranean, but the yacht clubs and many of the beaches supply sailing boats for hire, and some also have schools.
You can't hire boats for sailing in the Mediterranean.