Headlights dim as they age, and if one headlight has gone out, the second headlight may follow soon. So for maximum driving safety and confidence, you need two new headlights. Proper lighting means more time to react to obstacles on the road and more confident driving.
Don’t cut your vision in half, change headlights in pairs!