Which sentence is correct?

StartFragmenta) If I leave early, I will be there by 5 PM. EndFragmentb) If I left early, I will be there by 5 PM.