Hello elley243,
Thanks for asking the Apple Support Communities about issues with CarPlay. To isolate the issue further, let's try the following steps:
1 . First, disconnect from the car, does the phone do the same thing? If not, let's go to step 2.
2. Please ensure your vehicle models and year supports CarPlay. What make and model?: Apple CarPlay - More than 600 models to choose from. - Apple Support
3. Next, start by ensuring everything is set up properly as described this help article: Use CarPlay with your iPhone - Apple Support
4. If you still need help, please check this troubleshooting article here: If you need help with CarPlay - Apple Support
There is also a step mentioning the need to check if the car stereo needs an update to work with the new iPhone model or iOS version, stating:
"Make sure that your CarPlay stereo is using the latest firmware from the car manufacturer. Check your car's manual for more information."
If the phone is doing it while not paired to the car, reach back out for other options. Thanks.