Stomach bug

Jessica
Hey all! I'm currently breastfeeding my 5mth old. I've got a really bad stomach bug, I'm going on day 5. TMI but I'm basically peeing out of my butt. I'm trying so hard to keep myself hydrated, so my supply stays up. Should I just give breastfeeding up and switch to formula to get myself better? I'm at a loss, I'm tired of being sick, but I love that time spent breastfeeding. Is anyone else having this issue, if so what have you done? I'm just looking for some options.