WHEN ACTION MAY BE BROUGHT. The Insured shall not bring an action to recover the amount of a claim under this contract unless the requirements of statutory conditions 3 and 4 are complied with or until the amount of the loss has been ascertained as therein provided or by a judgment against the Insured after trial of the issue or by agreement between the parties with the written consent of the Insurer.