When you get sick first time your body will produce antibodies and destroy that bacteria or virus after producing that antibody your body has memory cell specialised for that antibody so you won't get sick everytime when you get that specific type of antigen
Because during digestion, blood is needed to execute the process. Swimming also requires blood so it takes the blood that was initially being used for digestion away.