My daughter is scratching her forearm superficially when she gets upset. What should I do?

OCD or Anxiety. Could be a compulsive stress relieving behavior. If not causing any problems with the skin, is probably harmless. If damaging the skin, consult your pediatrician.
Scratching wen upse. This could be a nervous tic. Talkj to your pediarician.