Stop Using Faulty Apps
There’s also the possibility that your screen is flickering not because of an iOS issue but because of an app bug messing with your iPhone.
If you notice that your screen only flickers when a specific app is open or running in the background, you should close the app or completely delete it.
If the app runs in the background, you can close it by opening the App Switcher. If you have an iPhone with Face ID, swipe up from the bottom to the middle of your screen. If you have an iPhone with Touch ID, double-press the Home button.
Next, find the app you think is causing the problems and swipe it up to close it. You can also Go to Settings > General > Background App Refresh and disable the faulty app so you can be sure that it’s not running in the background automatically.
Last but not least, you can delete the app if you want. Press and hold the app in your Home Screen or your App Library, and then tap on Remove App or Delete App. Afterward, tap on Delete to confirm your decision.
You can do this with as many apps as you think are faulty. If the app is the one causing issues, chances are the developers will fix it as soon as possible, so you can keep the app and check the App Store to see if there’s an update available before deleting it.