how to avoid joint problems