Hello and welcome to MedHelp's forums. Thank you for your question. It is always best to see your doctor for evaluation when unclear about a health situation you are experiencing. This can be associated with osteoarthritis or past trauma. We have capsules around our joints that contain fluid. If we stretch these capsules the fluid will then put less pressure on the joint and this less pressure turns the fluid into gas. When this happens, it will make a popping sound. Others believe it is a bubble created in the capsule. That's the mechanics of the sound. https://www.healthline.com/health/neck-cracking#how-it-works. Is it okay to have this? Well, if you are in pain, it is best to see your doctor and to look for the underlying reason why. It also has been noted that there is an increase risk of stroke by cracking your own neck. The risk is small but real so would refrain from doing this. If it is happening with out your trying, your muscles may be tight. Your doctor may suggest medication or physical therapy to work to reduce symptoms. Let us know what your physician says.