Is it painful to feed? You do need to keep feeding through mastitis (if it is mastitis) but you can take painkillers to manage the discomfort. Ibuprofen will help reduce swelling as well as dealing with your aches and pains, so take that in preference to anything else.
Rest if you can and make sure you drink enough!