I am taking antibiotics and I think one didn’t fully

Patient: I am taking antibiotics and I think one didn’t fully digest and began opening on the way down to my stomach. I keep getting stabbing like pains when I move and my throat and the pipe all the way down to my stomach feel “full”. I tried to drink water to help, but only threw up blue liquid (that is the color of the antibiotic) I’m concerned and need to know if I need to go to hospital because it hurts

Doctor: