Surinam cherries susceptible to fruit flies

Thank you for your column. It’s always helpful and interesting. I noticed a little white worm that emerges from some surinam cherries when I leave them soaking in water. I never had this before. What do you recommend? Mahalo, Teri