If you eat an apple and it doesn't feel better, then see if you need to take medicine.
You can go to the I Love Hamsters forum and copy the following paragraph. I don’t know if the symptoms are similar to yours.
parasitic enteritis
Causes and symptoms ----------- The so-called parasitic enteritis is caused by the presence of protozoal parasites in the intestinal flagella, such as Trichomonas. Symptoms of infection are mostly soft and watery stools. In severe cases, dehydration may also occur.
Treatment method: Antidiarrheal drugs and anthelmintic drugs can be taken orally at the same time. In addition, the feces of rats with diarrhea must be cleaned up immediately and the cage must be disinfected.