Charlie, you are much braver than me, I would have given up if that happened to me!
Seriously, if you are experiencing actual vomiting or diarrhoea during training sessions, I think you should reduce how hard you train, at least until you have found some sort of solution to the problem. It doesn't sound like a healthy thing to be doing.