How many days does the owner need to give notice to the electrical contractor before fixing defective installations?

How many days does the owner need to give notice to the electrical contractor before fixing defective installations?