Soft tissue injuries (sprains and strains) take 6 to 8 weeks to fully heal. Period.
Its possible you just did a minor tweak though. Also possible you have a serious problem--none of us can judge from the computer!
You should surely be taking a few days off the mat to rest and ice it, then re-evaluate for swelling, range of motion and pain, and take it from there.