Unless you absolutely cannot be without a car, I'd say stick to public transport until you're sure you can maintain a car. (Insurance, gas, garage, maintenance, future fines)
In my case, I have a truck and rarely use it in the city because it's too expensive to have in a city. (Garages are insanely overpriced and there's literally no room to leave it on the street)