Proteins are fed into the ER during translation if they have an amino sequence called a signal peptide. In general, proteins bound for organelles in the endomembrane system (such as the ER, Golgi apparatus, and lysosome) or for the exterior of the cell must enter the ER at this stage.
i hope this helps you!! :)