Yes, humans can get bacterial infections from dogs. Dogs can carry a variety of bacteria, including E. coli, Campylobacter, and Salmonella, which can cause severe conditions in people. Therefore, washing your hands thoroughly after touching your dog and avoiding contact with their saliva, feces, or urine is essential. See a doctor immediately if you think a dog may have infected you.