Burning!!

So tonight I used shaving cream and as it is really messy it got everywhere. As I went to wash it off, I noticed my vagina is bright pink and there are patches where the cream has burnt it. Has anyone got any solutions how to help heal it as it is very irritant and sore