Get Pet Questions Answered by Pet Experts
This doesn't sound like he just pulled a muscle. It sounds more like arthritic changes or some other kind of pain that is causing the weakness on this back legs.
Many dogs are prone to back and disc injuries and this will cause hind end weekness and paralysis.
I suggest that you see the vet as soon as you can to find out what's going on.
Let me know if you have more specific questions.