There are many ways to get around Puerto Viejo and surrounding areas, from bicycle rentals to local buses and local taxis & tuk tuks. For local taxis, ask your accommodation host for local contact numbers.
See a great video below of why bicycles and Puerto Viejo go so well together.