Good afternoon, Foxes are nocturnal, but they are sometimes seen during the day. It is possible that this fox was born this summer is still wandering around trying to establish its own territory. The scratching, rolling around, and head shaking could well be signs of a case of fleas...or of a young animal enjoying the fall weather. If the fox is keeping its distance from people, has a full furcoat (a patchy coat could indicate mange), and seems alert and its movements coordinated then you do not have much to worry about. It should flee from you if you approach it making loud noises (don't go too close). However, if the fox appears very lethargic, thin, has dull/patchy fur, walks in circles or seems uncoordinated in its movements, or tries to approach people...those could be indicators that the fox is sick. In that case, you may want to call a Nuisance Wildlife Control Operator (NWCO) to trap and euthanize the animal. They charge a fee for that service. Licensed NWCOs can be found on the 'Find a Professional' page of this website. If the fox seems to fit the description of a healthy fox and is not making any effort to approach people, I would just enjoy its presence until it decides to move on.