I’m losing my mind

I’m losing my mind. I have an 8 month old that won’t sleep, is miserable and won’t go to anyone but me. She doesn’t even want to go to my husband. I have no family to help me here. I’m all alone. I have two elderly dogs who piss and shit in the house. My husband is glued to his phone when he gets home from work. I can’t handle this. I just want a decent sleep and some time to myself.