samsung J7 prime model - SM-G610F while restarting its take more times to open and opti

It will do that one time every time there's a new version of Android (or every time you flash a new ROM to it). You just have to let it finish. Even if you restart it, it will start where it left off.