correct time for passport renewal for H1B if passport expiring in Sep 2019


Hi,Currently, I am on F1 visa and my passport is going to expire in September 2019. My employer would be filing my H1B this year, so may I know when would be the right time to apply for the renewal of my passport.