Odd bumps on legs

Katie
I've had these for the past two months. It's not razor burn, I haven't shaved in two weeks. I've put razor burn/ingrown hair on it and it doesn't work. What are they and how do I get rid of them?