more times than not it is "Saprophytic" fungi -- which means it only feeds off decaying organic material - real "organic" term and not the marketing term. So, it will not leech your nutes and won't cause any real problems. probably a woodchip or something else decaying in your substrate.
if top layer of soil never dries, this is a more common occurence. you can kill it like shemshemet said, but that will also decimate any good microbes you have added or grew naturally. you would need to re-inoculate with any products previously used and then whatever ramp up time to re-grow... if late in life cycle may not be worth it.
as long as it isn't seedlings, i'd let it go. a mature plant won't notice.