dirty or bad contacts on the SIM or phone. Clean the SIM contacts with a pencil eraser & wipe off with IPA. Hope that cures it.
open