When the UE powers on, it checks if it is possible to camp on the last registered PLMN (Public Land Mobile Network). If no any stored system on the UE, UE will perform the initial cell selection:
1. Scan all RF frequencies band (ex 900MHz,1800MHz,1900MHz….) and which band are using by network
2. Detect the operating frequency with the strongest RSRP
I am not sure if I have answered your query, please comment -