Ah right, I found I put a static charge on a pan by washing it and then rubbing it dry.

Letting it dry naturally solved the problem.

Try washing it in a grounded metal sink and then air drying.