What would cause painful swelling and knots right side of face and right side rib cage should I be concerned about knots in front behind ear and the knot on ribcage swelling of the right side of my face

Be concernced. Hard to say from the information you gave. But you certainly should be assessed by an md asap.
Yes, . Yes, there are multiple conditions that can cause this; the majority of them are harmless, but any lump or bump should always be medically evaluated. If they became red, painful, if you have red streaks, or fever then you must be evaluated immediately.