I had the same thing on the side of my male peacock it ended up going away completely in 3 days hopefully the same for you. Sorry I couldn't tell you what it was I think mine was just an abrasion.
Anything is possible when you have parasites on the head. Kill the parasite early while you can or else it will feed on the fats from the kok and multiply. Open wound will cause bacterial infection and gets worsen if left untreated.