Stress or pain can certainly cause
panting, but I would not expect a skin infection to cause these
symptoms unless the infection has spread internally, which would be unusual. If there is any swelling of her belly, if she seems weak, if her gums become pale, or if her heartrate consistently increases over 120 beats/min, then I would recommend calling an emergency veterinary clinic and getting her seen tonight, if that is possible.