razor bumps after swimming

Katya
Hi girls,
 I was hoping someone could help me!
Every time I go swimming even if a day or two after shaving afterwards it always goes bumpy and red!
I always try to dry that area so it's not wet or whatever but nothing stops it from going all bumpy. It's just embarrassing because it's so noticeable ! 
What could I use? 
P.S if I shave in shower and come out dry myself it doesn't go bumpy or red! Only after swimming a day or so after !