How do you get your baby to sleep through the night?

Ai

My daughter never has! What do you do that works?