The NHS have a fantastic page with how to check for mastitis, do’s and don’t for if you do develop it, and possible causes

The Mayo Clinic has a much more technical look at mastitis, alongside some diagrams and images for examples

The Cleveland Clinic has a nice breakdown similar to the NHS but in a little more detail

Health Line provide a nice simple article with good information on treatment prevention and complications