These can occur due to infected hair follicles. Especially for those that may shave the area. Infected pores can cause this too. If you have more than one, you should see your doctor. You may need a course of antibiotics and also to make sure that your sugar levels are normal.
In the mean time, do apply a hot compress, don't squeeze them, as this can cause the infection to go deeper. You want it to burst on it's own.
Wash the area with an antibacterial soap. Make sure you wear cotton underwear, so the area can breathe. If you sweat a lot, make sure to wash up in that area too.
Hope this helps, If you need anything else please feel free to ask. If you found this helpful don't forget to click the *ACCEPT* button and please take a moment to leave me *POSITIVE* feedback.