If it's just one or two, you can remove them, refresh your starter and put it in a better place. If it's infested, then you will have to throw it away! Consider sealing the container more tightly next time.