Based on the use of Feinman integrals a method of describing the relaxation of molecules interacting with electromagnetic field and placed into a thermostate is suggested. In the suggested version of the description the phenomenological constant enters the Schrodinger's equation itself.