What kind of rash is this?

It’s been there for 6 days. Itches and hurts. On my ribs. Anyone ever have something similar? I also have been having canker sores in my mouth for the last 6 days.. unsure if related (I never get canker sores). Could my body be fighting some sort of infection? Autoimmune disorder?