loose poo's

( sorry not a nice topic I know) We have cut Dairy for a week now, he is have goats cheese but soya all the others.
He is quite loose, could this be because of the change in diet?
He is having an op on Monday so worried he is coming down with something?
Donna x