Yes, it sound like the latch may have been off some of the time. IF you are still having trouble, you should see a consultant. But it is hard to tell if there is pain still from past irritation. Here is some info I just posted to another mom. It is an ointment for pain and to prevent infection:
Ask your OB for this prescription from a compounding pharmacy. It saved me a lot of pain. I'm no crazy homeopath, it is something my lactaiton consultant recommended and my OB perscribed and it really helped much more than lanolin..
APNO (All Purpose Nipple Ointment) is a compounded ointment mixed from the following ingredients:
Mupirocin 2% ointment (15 grams)
Betamethasone 0.1% ointment (15 grams)
To which is added miconazole powder so that the final concentration is 2% miconazole. This combination gives a total volume of just more than 30 grams. Clotrimazole powder (not as good as miconazole) to a final concentration of 2% may be substituted if miconazole powder is unavailable, but both exist (the pharmacist may have to order it in, but compounding pharmacies almost always have it on hand). Using powder gives a better concentration of antifungal agent (miconazole or clotrimazole) and the concentrations of the mupirocin and betamethasone remain higher. Sometimes we will add ibuprofen powder to a final concentration of 2%.
The ointment is applied sparingly after each feeding (except the feeding if/when the mother uses gentian violet). “Sparingly” means that the nipple and areola will shine but you won’t be able to see the ointment. Do not wash or wipe it off, even if the pharmacist asks you to. The APNO can be used for any cause of nipple soreness ("all purpose nipple ointments"), not just for Candida (yeast). Use the ointment until you are pain free for a few days and then decrease frequency over a few days until stopped. If you are not having less pain after 3 or 4 days of use, or if you need to be using it for longer than two or three weeks to keep pain free, get good help or advice.