Holding index funds

How long should you hold index funds?