@vijayjangid you want to try a start in safe mode and see if that helps with your phone's issues. If it does, you have a bad App on your phone and will have to remove it. Check [link|https://www.samsung.com/in/support/mobile-devices/safe-mode-on-samsung-phones/|on here|new_window=true] how to enter safe mode.
If that did not work, ty to start in Recovery mode. Here you can resolve issues that are related to software. To enter into recovery mode, use the info from [link|https://www.hardreset.info/devices/samsung/samsung-galaxy-j7-prime/recovery-mode/|this site|new_window=true]
The last software step to try is to do a factory reset. You will lose all of your files, contacts, pictures,etc. So make sure that you have a backup of all of those. You will also need your google password etc. that you used for setting up this phone. It will ask you for this on restart. The info on how to do that can be found [link|https://tweakdroid.com/hard-reset/samsung-galaxy-j7-prime-sm-g610f-on7xelte/|right here|new_window=true]