For equity mutual funds, staying invested for at least 5 years is generally better. For short-term goals, debt or liquid funds may be more suitable.