Hi my dog got something like that, I think she scratched her eye lids when rubbing her head on the ground or had a contact allergic reaction to something like wandering jew weed.
She ended up bald around the eye for a few weeks. I just gently wiped around the eye with warm saline water to help stop any bugs.
She had scabs just under the lid too.
If it gets real bad pop in and see the vet they would have some ointment for it.
If you find yourself going through hell; Don't stay. Just keep on going.