Hey Azan, press and hold the power button for 8 to 10 seconds and the phone will force restart. To completely resolve this issue, you can try and update your phone's firmware to the latest available version. This happened very often to my Samsung Galaxy Young but ever since I upgraded it firmware from 2.3.5 to 2.3.6 I never saw the error again.