While providing a certain degree of comfort, pain medication will usually only do so much for dogs suffering from ligament injuries, as it does not provide a solution to persistent instability.
Strict activity reduction (walks on leash only) is the most effective way of reducing pain. If your dog cannot have surgery, your vet will probably recommend this.