Replace a dirty, corroded, or damaged headphone jack or a damaged audio control internal button switch.