I was fixing my jack output and I thought it was all fine after that but heard this weird rattling from the inside and found a weird spiked ring thing if it helps my guitar is Jackson professional it would be great to know where I need to put it back into
If it's a Janet Jackson, that's the nipple ring.

But seriously, can you post a picture?
Sturgeon's 2nd Law, a.k.a. Sturgeon's Revelation: “Ninety percent of everything is crap.”

Why, yes, I am a lawyer- thanks for asking!

Log off and play yer guitar!

Strap on, tune up, rock out!
I can't sorry my camera is bust right now All i know is that after i put a new nut on my jack output i could hear a weird rattling and i opened it to find some ring type thing it was smooth on the outside and spikey on the inside I'm sorry if it isn't the greatest of all descriptions but I really want to fix it

Like this? It's a lock washer. It goes between the jack and the wood on the inside and grips it.