Ingrown Pubes

So I shaved for the first time in years like 2 weeks ago and I did not shave the correct way because I got razor burn AND fucking ingrown hairs. What do I do to get rid of them?