Question About STDs

I've done research and I know all about safe sex. But one thing that I can't find is where STDs start. Obviously they're passed, but they have to start somewhere. Nothing I've read seems to explain this. Any help?