I am on dialysis, went to the doctor for a knot inside my bellybutton. It is a hernia but to small for surery. Now I have a lot of pain?

Needs to be seen. If you have a painful hernia, no matter what the size, it should be fixed.
Get it seen ASAP. Size of a hernia does not matter. If a hernia is hurting, it usually means the tissue or intestine that has herniated through is being strangled and dying since the blood supply to it is cut off. If that is the case, it is usually a surgical emergency.