i deal with that every day.
You try to give them support and give your best advice as possible. Probably invite them somewhere, if they're depressed or suicidal i try to show that i care about them as much as possible, male or female.
You're walking through the hallway at school, leaving the building. Your ex girlfriend opens the door trying to get in at the same time you're tryin to get out. what do you do?