What is the temperature? If its less than 38`C you need not worry. Along with loose stools it might be viral. But be sure her activity is normal and food intake is okay.
Take care of her hydration by giving her adequate fluids. You may give her probiotics too for her loose stools that will reduce the frequency and duration.
What is the problem in her gums? If you are sure its because of teething
and its bothering her, you may apply local gels like zytee.
If symptoms persist, please do not hesitate to visit your Pediatrician