Their could be a ligament sprain or a hairline fracture.
Next Steps
you should visit an ortho or get a plain x-ray to rule out fracture
Health Tips
cold packs every 4 hourly for 3 days will reduce pain and swelling quicker. I hope you will be better soon.