Hi again kholy114 ,
I would suggest that you continue using your iPhone and headphones as normal. If the issue presents itself again, I would suggest trying the troubleshooting steps that I provided in my previous reply. Additionally, you may want to think about cleaning out your headphone jack on your iPhone, since debris in the headphone jack can be the cause of symptoms such as the ones you are experiencing:
Unplug the headset and clear any debris from the headset jack. Then plug it back in.
Make sure the headset is plugged in all the way. If you’re using a case, remove it to make sure it’s not getting in the way.
Check the headset cable, connector, remote, and earbuds for damage. Make sure they’re not blocked or dirty.
If your headset isn't working - Apple Support
https://support.apple.com/en-us/HT203026
Thanks again for using the Apple Support Communities. Have a good one!