It's a chronic fungal and bacterial and parasitic(demodex) infection @ malassezia dermatitis !!
prolong skin issue , u need alot of patience about it...need to go for skin scrapings needed.
Apart of that ur saying it's a stray dog near to ur house...
So with that in keeping my mind giving u a basic treatment.
Next Steps
Please give a bath with the shampoo ketachlor or clean the wound areas with betadine solution mix with water and apply kiskin or wakazole ointment.
Tablet lixenpet 600mg for 14 days
Tablet Atarax 10mg 1-0-1 for 14 days
Syrup vitabest derm 5ml-0-5ml daily
Health Tips
Try to avoid Pet/dog going out too many times until the treatment complete and heals the wound
possible give boiled vegetables mix with boiled chicken.