Stomach virus with a toddler

How do I prevent my 2 year old from catching my stomach virus. Its so hard when youre super sick and are with the baby.