You do not need a car to get to Puerto Viejo. You also do not need a car once you get to the city. There are plenty of transit options available and things are pretty local, but if you do have your own vehicle it will make getting around all the easier.