That sucks... sprains can be worse than if you broke it. Hopefully that isn't the case for you... and don't be afraid to take a few days off from the guitar.. you won't lose anything - it will come back to you rather quickly when you pick it up again.
You wouldn't want to prolong your healing time by forcing yourself to keep playing. I know its easier said than done... but it does help. :o
Great works are performed, not by strength, but by perseverance.