I keep getting these boils and they hurt and I don't know how to prevent them or to get them to stop hurting...?

Keep your skin clean. you need to keep your skin clean. it really depends what part of your body you keep getting the boils. during shower use the ant septic soap hibiclins, or even betadine might work, but you really have to rinse it real good. apply topical antibiotic on the area that keep getting the boils. check with your doctors to make sure that you are not at risk of developing diabetes be aware of MRSA bad bug.