Probably a bad fill valve. A new Fluidmaster would cure that pretty easily. When you start to replace the fill valve, aim the supply line into a can or...