I have ulcerative colitis, I have recently had a gastro bug and wanted go know if this could have have any affect on the condition?

Perhaps. Occasionally infections can trigger a flare of ulcerative colitis. But if you're otherwise feeling well with normal blood and stool testing, there is little need to consider changing your treatment. .