a new tank always gets cloudy. its the bacterial bloom. it will pass.
in matured tanks, cloudy water can be multiple things. Greenwater forming, a bacterial bloom because something damaged your bio filter, a contaminant, or simply free floating detris.
depending on the cause, there are different solutions.