Hospital stays could be avoided by taking this one simple step study finds