Mastitis

If I have mastitis do I have to make an appointment with the doctor or can I just call them to get antibiotic for it?