When is the best time to file for STD or LTD disability insurance benefits?

When is the best time to file for STD or LTD disability insurance benefits?