Could be ringworm or some other fungus, or mange. Once you find out what it is, it shouldn't be hard to fix. If the pig were mine, I would spray him with BluKote. If it is a fungus you should see an improvement in a very few days. If nothing happens you will need to try something else. A consult with a vet may be in order.