Ingrown hairs

I am very prone to ingrown hairs. How to I get rid of and prevent them??