Chosen Solution

A few weeks ago my right earbud just stoped working I thought it was the earbuds but I tried it with other it still doesn’t work I think might be my phone so if anyone has any answers

Try cleaning the headphone jack using a toothpick or some tweezers then try testing earphones again. If that does not work then the charging port (which comes with the headphone jack) needs to be replaced. Where to buy replacement charging port: iPhone 5s Lightning Connector and Headphone Jack Guide to replace charging port: iPhone 5s Lightning Connector Replacement