What to do for aching bones?

I dont knwo what you can do for it im just wondering because my dog is a pormerian mix and his leg bones hurt, and he has had a lot dirahea.
I have a feeling that he has a diesease but i really don't know what type it is so im trying to figure out a way to help him .
If you know what this diesease is please tell me .