I mean what are you growing the plant in? Rockwool? Clay pebbles? perlite vermeculite?...

If there is rotting happening, it means its too wet.