I've done it both ways- rented a car and also taken a taxi. Sometimes I don't even need a car, it all depends on the situation. One time, I had a trip where I took both approaches. I knew I wanted to visit a certain historical site that was a bit of a drive from my hotel, so I got a rental for just a few days and the hotel helped me arrange it.