How To Hard Reset Oppo F5 -

Press and hold the Power button and tap "Power off". If the phone is frozen, press and hold the Power button for about 10–15 seconds until it turns off.