Razor burn

Leeza
I get really bad razor burn all up my legs, mainly on my thighs, and I don't know what to do to prevent it. I soak in warm water before I shave, I use shaving gel, a new clean razor, shampoo if I don't have shaving gel. I used to put lotion on after I got out of the shower but my legs would break out in red bumps and burn if I had shaved. It's embarrassing to wear shorts or a skirt and have horrible looking legs and seeing other girls who have flawless legs. Anyone know what could help?