Nighttime crying and tantrums: how do you handle night crying?

Nighttime crying and tantrums: how do you handle night crying?