Hello MMYLMB21,
Welcome to Apple Support Communities. Which iOS version is currently installed on your iPhone? You can find this information under: Settings > General > About.
iOS 16.1.2 is the latest version, so if you have any pending update, please back up your device, and install them by following the steps here:
Update your iPhone or iPad - Apple Support
Keeping your device up-to-date on software is an important troubleshooting step as it maintains your iPhone running smoothly.
Next, let's check the Battery Health by navigating to: Settings > Battery > Battery Health.
Once a battery reaches 80%, we do recommend it be replaced. For more information, check this out:
Check the iPhone battery health and usage - Apple Support
Also, make sure your iPhone is operating in recommended operating temperatures as explained here:
If your iPhone, iPad, or iPod touch gets too hot or too cold - Apple Support
If you didn't find any issues with your battery and it is already updated, please reach out to Apple Support for further assistance. You can contact them using this link: Apple Support
We hope this information is useful. Kind regards.