Are you keeping yourself physically fit?
Are you taking care of your body?
Are you sleeping well?
Are you eating well?
Also, consider checking your hormones. Age and stress will move your thoughts in this direction. There are ways to counteract though.
Mind and body are inseparable, one influences the other.