Sarah Ferguson, Duchess of York, has urged people to "check in" with themselves and prioritise their health.