You may experienced an accident that caused severe swelling in your knee or you may be a victim of joint inflammation. There's an association between mind and the entire body.
If your dog yelps, it means he can't tolerate the heat. https://sites.google.com/view/health-products1--1/home