While the public transport is well-developed along the coast and inside the town centers, I highly recommend renting a car.  You’ll be able to explore more beaches and small inland villages.