give up breastfeeding

Ma
I'm about to give up breastfeeding. First my nipples got torn up by my lo, so I have a huge crack in both nipples. Now we have thrush. She is not eating enough and therefore not sleeping. I'm so frustrated, I've even since a lactation consultant and am still having difficulty. She'll be five weeks Tuesday and I'm waiting to enjoy this experience. It's been miserable. Any advice or encouragement