How do I treat this prickly pear?

This plant gets direct sun and isn’t watered often but I notice it’s developed some kind of fungus infection. Perhaps it’s something else but please let me know how to treat it. Zone 9A.