What do you do when a team member is struggling?

How do you spot the signs that one of your team is struggling?