Crackling when you move the cable means a broken wire or dirty plug.
1. Clean the plug with a dry cloth and the phone's jack with a wooden toothpick.
2. Wiggle the cable near the plug and near the headphones to find where it crackles.
3. If the cable is removable, try another cable. Many over-ear headphones use a standard cable.
4. If it is fixed, a technician can cut out the broken part and solder a new plug.
5. Use a cable clip so the cable doesn't bend sharply at the plug.
Good headphones are worth repairing. Cheap ones are usually replaced.