Night time scaries

Please tell me these go away? The feeling of never knowing how much sleep I’m going to get, or the feeling that I have to go to bed as soon as my baby is down so I don’t lose sleep?!