Help please my pup:(

I put this on my dog and he got a horrible reaction he won't stop crying his skin is really red so I washed it immediately and now he keeps crying I'm really scared....what should I do? It's too late to take him to the vet