I learned from this excellent tutorial, which explains how to use Verlet integration for ragdoll physics.

What game are you trying to make? If you have something specific in mind it might be easier to help you.

If you want I could go over the source code for my ragdoll demo here. I'd need a good reason to share this code with you though.