I was wearing the necklace it was clinging on my neck ( is this sentence correct)

Yes, the sentence is correct. It conveys that you were wearing a necklace that was clinging to your neck.