When soloing I have it macro'd to every attack so it's constantly going off.

In dungeons I swap out the buttons so it's on manual control - as others have stated any attempt to automate it in a dungeon can interfere with threat generation, so I leave it on manual control there (though in some PUGs if the DPS is low enough, you can actually put some of the automated macro's back and still hold aggro).