Hey there pathan723,
Thanks for reaching out to Apple Support Communities. We're happy to provide some assistance.
Let's make sure your device is up-to-date. If it is updated, let's restart your device. Restarting your device and making sure it is updated can resolve many unexpected issues.
Take a look here on how to restart your iPhone: Restart your iPhone
1. Press and hold either volume button and the side button until the power-off slider appears.
2. Drag the slider, then wait 30 seconds for your device to turn off. If your device is frozen or unresponsive, force restart your device.
3. To turn your device back on, press and hold the side button (on the right side of your iPhone) until you see the Apple logo.
Take a look here on how you can update your iPhone: Update your iPhone, iPad, or iPod touch
Keep us posted.
Have a great day!