Infection of a host by a microorganism or virus produced within or upon the body of the same host individual.