I think it's a good idea to give your shoulder some rest for a couple of days, at least until the swelling goes down. If it hurts, you should probably not exercise again until it stops hurting.
I've been told shoulder injury can be pretty serious, but I don't have any experience with it.
Perhaps someone else here has some additional advice or info?