Welcome to the Apple Support Communities!
I understand you are having an issue with your right earphone. Are you referring to Apple AirPods? If so, click on the link below for service and repair information.
AirPods Service and Repair
If you are asking about a different headphone, please reply to this thread with additional information, including the model number of the accessory, and I'll do my best to help you.
Enjoy your day!