Where are you located. Most GP vets should be able to do a skin cytology, look for fleas , do a skin scrape , etc to help identify the cause of the scratching. Treat bacterial/yeast infection. Get an ecollar to prevent further self trauma, use appropriate topicals and get on systemic meds if needed.
—GP veterinarian in NoVA