To block red and green shells from scoring a hit on your vehicle, try to hold a banana peel, a red shell, or a green shell of your own behind your go-kart. This will block any shell from hitting you, so you can continue the race unhindered.