Joanna it could be damping off or fungus gnats. To prevent damping off you need to increase air circulation I think. For fungus gnats you need yellow sticky tape (to kill the adults) and knock-out gnats to kill the larvae that kill the plants by burrowing into the roots and munching on them.