I think I have a ganglion cyst? Because of the location, it is sometimes painful. It’s also hard as a rock to the touch.
Any mass or swelling needs to be evaluated. I would suggest to see your orthopedic doctor.
You need an exam and X-ray ..