Been in that situation,First there with Fire extinguisher,pulled pilot out,shut off fuel etc and all turned out well except for written off Helo and dented pride
not mine I must add
I thnik if your close you have to get there and see what you can do and let the 2nd or 3rd people call fire service etc.