You can check for unknown configuration profiles on your iPhone by going to Settings > General > Profiles & Device Management and looking for any profiles you don't recognize or trust. If you find any, tap on them and select Delete Profile and confirm.