I’m not aware of any foolproof way to distinguish frogs and insects, except through familiarity with the local fauna. Many frogs can sound quite insectlike. As a very general thing, insects tend to sound more mechanical and continue incessantly without pause, while the calls of frogs may be more intermittent, but this is not a reliable distinction.