Feeling like a failure

3 month postpartum and I have started feeling like a failure. I have been trying so hard to get my LO on a schedule, but I just can’t seem to get it. She has had two diaper rash flare ups and suddenly has stopped sleeping at night. I don’t know what I am doing wrong, but I feel like such a failure as a first time mom.