Generally speaking, humanoid enemies in my games fight smart, choosing targets based on threat potential and using tactics to ensure victory, and attempting a tactical retreat when things go bad. "Monsters" I treat as hungry predators, more likely to down a target and then try and carry it off than move on to another opponent, and fleeing if they get too wounded or swarmed (watch some footage of baboons or hyenas running off big powerful cats like lions or panthers). Intelligent undead usually fight to the death because they are inherently evil and tortured by their state but choose targets based on malice. Demons, devils and other evil extraplanar creatures on the Prime don't fear death and are just horrible, so they inflict maximum shock and fear, usually willing to gang up on a target and coup de grace them if they go down so they can drag the soul back to Hell with them.
Dragons are a tough one for me. They are powerful and intelligent but they also care about their lives and treasure. If given a chance they won't fight the PCs at all but rather use them as pawns. In the case a dragon must fight, it will always focus fire to try and eliminate an enemy every round, usually starting with the biggest threat (which may or may not be the highest damage dealer, depending on the circumstances).