Shaving bumps or something else?

I’ve had these red small bumps only on my lower right leg onto my calf and I’m not sure if it’s from shaving or something else. They’ve been there for maybe a few months now. Any advice or tips to get rid of them? I currently am trying coconut oil to see if it helps. (Worried it may be something worse!)