Hello abdennour112,
Thank you for using Apple Support Communities. It's my understanding that you're hearing crackling or popping sounds when using headphones with your iPhone 7. I can see how this could be concerning. I'm happy to help.
I recommend using the steps below to check for debris, damage, or loose connections:
- "Check for debris in the headphone port on your iPhone, iPad or iPod touch.
- Check your headphone cable, connector, remote, and earbuds for damage, like wear or breakage.
- Look for debris on the meshes in each earbud. To remove debris, gently brush all openings with a small, soft-bristled brush that's clean and dry.
- Firmly plug your headphones back in. If your iOS device has a case, remove the case to get a firm connection."
If your headphones don't work with your iPhone, iPad, or iPod touch
If the issue persists, try a second pair of headphones. If the second pair works, contact the manufacturer of the initial pair and ask if you need a replacement. If the second pair has the same issue, contact Apple Support.
Contact Apple Support
Have a nice day!