What is this on my legs???

I think this is from shaving, then chaffing made it worse. It is kinda irritated but how can I get rid of it? And also. You can kind of feel the bumps