Hello OR-24,
Thanks for choosing the Apple Support Communities. We see you're concerned about the security of your iPhone. We have a few steps to take to ensure you are completely secure.
First check out this guide to Safety Check.
How Safety Check on iPhone works to keep you safe - Apple Support
Next, have a look at using the built-in security protections on your iPhone.
Use the built-in security and privacy protections of iPhone - Apple Support
"Protect access to your iPhone
- Set a strong passcode: Setting a passcode to unlock iPhone is the most important thing you can do to safeguard your device.
- Turn on Find My iPhone: Find My helps you find your iPhone if it’s lost or stolen and prevents anyone else from activating or using your iPhone if it’s missing.
- Control what features are available without unlocking your iPhone: Disallow or allow access to some commonly used features, such as Control Center and USB connections, when your device is locked.
If you find your iPhone and personal accounts are targeted by sophisticated remote attacks, you can also help protect yourself with Lockdown Mode. Lockdown Mode offers an extreme level of security for the very few users who, because of who they are or what they do, may be personally targeted by some of the most sophisticated digital threats, such as those from private companies developing state-sponsored mercenary spyware. Lockdown Mode automatically protects Safari, Messages, Home, and many other Apple services and apps. Webpages and internet communications continue working, but with reduction in performance and usability. See Harden your iPhone from a cyberattack with Lockdown Mode.
To get personalized support for these practices, go to the Apple Support website (not available in all countries or regions).
To learn how Apple designs security into the core of its platforms, see the Apple Platform Security User Guide. To learn more about how Apple protects your information, go to the Privacy website."
Finally, if you feel your Apple ID has been compromised, follow these steps.
If you think your Apple ID has been compromised - Apple Support
We hope this helps.
Cheers!