I need advice

I’m embarrassed to tell my boyfriend about my stomach issues because i don’t ever want him to know i’m pooping, but i have a lot of stomach problems that can cause diarrhea from past issues. does anyone know how i can get over being embarrassed about telling him this stuff or should i just keep it to myself?