Razor bumps?

So every time I shave anything but my legs I get razor bumps and they itch and hurt. Does anybody know how to prevent/help this??