Red swelling on leg

I have this red swelling on my leg and it’s hard and hasn’t gone away for over a week I don’t remember bumping it what is it