That all will be fine.
You can easily worm them with wormer for their drinking water, there are many different kinds. As for the problem at hand, sounds like the same thing many folks are dealing with right now, coccidia.
HOWEVER, the only way to know for sure is to take it to a vet and let them do an picky swab to look for the microscopic parasites.
If it is the case, medicated chick feed and a sulfer based antibiotic will fix them right up. you will need to try all your birds for it too.
Weight loss, foamy diarrhea, turning to bloody, diarrhea, loss of apatite, and lack of energy are the common signs of it.
Good luck
Aubrey