Hello nataliefromplano,
Thank you for reaching out to Apple Support Communities.
This article has a few helpful steps you can try: If the screen isn't working on your iPhone or iPad
"If your screen is too sensitive or responds intermittently to touch
- Restart your iPhone or iPad.
- Make sure that your screen is clean and free of any debris or water.
- Disconnect any Lightning or USB-C accessories. If your screen works after removing an accessory, try using a different outlet, cable, or charger.
- Remove any cases or screen protectors.
If part of your screen doesn't respond, responds intermittently, or responds even when it's not touched, contact Apple Support."
If the issue persists, can you provide a few more details? Does this happen across multiple apps? Do you have a screen protector or case on your iPhone? Also, what is your exact iOS version?
Good Luck!