Breastfeeding blues....

Jimmie
I just recently had my second child. I was so dead set on breast feeding because I did with my daughter for the first month and because I was put on some medication I had to stop. This time around he just wouldn't latch and so I started pumping but I never really have time to do it and so I only get maybe a bottle out of them a day so I'm also feeding him formula. I feel like such a failure. Any other mommies out there that had breastfeeding plans that didn't work out or anyone who has advice on what I should do?