I have sprained my right foot 3 weeks ago and I still have a little pain and swelling a bit. Is it normal? No bone injury.

Yes and No. It is common for one to experience pain and swelling for several months following an ankle injury. If the pain and swelling persist have it evaluated by a specialist.
Sounds like . Normal course but what treatment did you get? Immobilization?