An effective medium theory for the calculation of the conductivity in
the presence of inelastic scattering has been developed. Our approach
turns out to be quite universal and applicable to arbitrary types of d
isorder. In contrast to other effective medium theories, our method do
es not rely on the introduction of an ordered lattice but focuses on t
he diffusion processes in the disordered media. We obtain a quantum di
ffusion equation in the presence of inelastic scattering which takes i
nto account the Fermi correlation. The form of this equation shows the
inapplicability of the concept of a spectral density for the conducti
vity used in earlier effective medium treatments. Furthermore, we appl
y our formalism to the calculation of the conductivity in the variable
range hopping regime. For the de conductivity we obtain Mott's law. I
n addition, we derive a simple formula for the frequency dependence of
the ac conductivity.