I agree, don't leave him out barking. Try him on lead; he may realise that actually there's nothing worth barking for. Then gradually let him off lead. You could also try doing a bit of training/playing outside with him, rather than just letting him out to do his own thing?
My two, particularly Molly, go loopy and bark outside sometimes, and they are brought straight back in.