The easy way is to spray some contact cleaner (CRC electrical contact spray or similar at the hardware store, used to be called tuner spray) into the jacks, then insert and remove the patch cord several times. If you can open the amp and get to the contacts, clean them with a pencil eraser or...