Hi brendafromsacramento,
Thanks for contacting Apple Support Communities!
It sounds like your iPhone restarts unexpectedly, is that right? If so, you can check that your iOS is running the most recent version as well as check your battery as outlined here: If your iOS or iPadOS device restarts or displays the Apple logo or a spinning gear unexpectedly - Apple Support
"Check your hardware
On an iPhone 6 or later, check your battery health under Settings > Battery > Battery Health & Charging.
If your battery doesn't need service, and your iPhone, iPad, or iPod touch continues to frequently restart or turn off, contact Apple Support.
If your apps quit unexpectedly, learn what to do.
If your device has a frozen screen, doesn't respond, or becomes stuck when you turn it on, learn what to do for iPhone, iPad, or iPod touch."
We hope this helps you.
Cheers!