Always keep some tail light tape around. You could get pulled over and get a ticket for a broken tail light.
You should remove the light from your vehicle, replace the light-bulb if you need to and wrap the whole light in tape. https://puckett-larsen.blogbright.net/key-things-to-know-when-car-shopping-1719493519