Pepsinogen (inactive form) is first changed by HCl into an active enzyme pepsin. Then through autocatalysis, more of pepsinogen gets activated to pepsin. Therefore, pepsin hydrolyses the proteins partially to proteoses and peptones.
PepsinogenHCl−−→Pepsin+Inactivepeptide (Inactive) (Active)