The best way to get rid of insects is by removing the moss, and letting the soil dry out slightly between waterings. The bugs will then have a much worse time in your pot, and rather scurry of to better grounds.
I cannot tell from the picture what sort of insect you have there. So no advice on whether it is bad for the plant.