Section 248(3) in The Code of Criminal Procedure, 1973
(3)Where, in any case under this Chapter, a previous conviction is charged under the provisions of sub-section (7) of Section 211 and the accused does not admit that he has been previously convicted as alleged in the charge, the Magistrate may, after he has convicted the said accused, take evidence in respect of the alleged previous conviction, and shall record a finding thereon :Provided that no such charge shall be read out by the Magistrate nor shall the accused be asked to plead thereto nor shall the previous conviction be referred to by the prosecution or in any evidence adduced by it, unless and until the accused has been convicted under sub-section (2).