After cracking your knuckles, if you experience immediate pain or swelling, you may have injured your joint, and you should visit a doctor right away. Consistently cracking your knuckles can also erode the cartilage in your joints over time, generating inflammation that causes discomfort. I hope this helps some! <3