Try the earphones on another audio source.
Try other earphones on your current audio device.
Determine if the problem follows the earphones or stays with the audio device.
Another test: plug in the earphones as normal and listen while you gently twist, wiggle, and pull the connecting wires. Especially around the right ear piece.
You may discover that there is a bad connection. May or may not be repairable.