Your dog is in a lot of pain, somehow you have to find some money for a vet visit. If not, maybe you could release him to a dog shelter, where they could give him the proper care. Please do something, he is suffering and will not improve without help.
I'm so sorry to hear this and your dog must be in pain and might have more injuries then you suspect and should really be seen by a Vet and soon. Check around to see if there is a Vet that will allow you a possible payment plan. Is there a friend or family member that could possibly give you a loan? Your dog is suffering and you really need to do something and quickly.
One of the other members may be able to give you more info on a place you can get funding. I am not familiar with that myself.