Hi Abhin285,
Thanks for reaching out about your iPhone screen flickering.
We’re happy to provide some assistance
Try the steps in the links below.
Restart your iPhone - Apple Support
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.
If the screen isn't working on your iPhone or iPad - Apple Support
If the steps above doesn't help, the next step we can try is to restore the iPhone and set it up as new to test.
You'll need a computer and a cable to do this.
Here are the steps: If you can't update or restore your iPhone, iPad, or iPod touch
Lastly, please make sure that you have a backup of your data before restoring your device.
How to back up your iPhone, iPad, and iPod touch - Apple Support
Cheers!