White balls coming out of mouth may be the pus draining from the decayed or periodontally infected or impacted wisdom teeth .
I would suggest you to get a thorough evaluation by a dentist
is usually caused due to poor oral hygiene
I would advice you to get a thorough scaling done.
Use soft bristled toothbrush and clean your teeth involving all aspects of teeth.
mouthrinses to gargle.
Maintain oral hygiene well.
If symptoms persists,please do visit a dentist.
Hope this helps.