I assume you've already been to the vet. If your dog's pain medications aren't helping, you may need to increase her prescription. Otherwise, keep your dog as still as possible. Movement will only make the injury worse.
your vet can give you some pain meds such as deramaxx, rimadyl, or tramadol to help with the pain but surgery would help fix the problem and get rid of a lot of the pain