If it did it was too late to alter anything

What is the correctly punctuated version of this sentence?
If it did, it was too late to alter anything.