The invention relates to the field of organic chemistry, pharmacology and medicine and concerns a method for producing a copolymer of sodium carboxymethyl cellulose and gossypol having the formula (I), as well as the use thereof in a combined treatment for patients with autistic spectrum disorders and cognitive impairment.