If nothing helps: exorcism
If the Mesopotamians needed professional help against Lamashtu or if they felt that time was running out, they could call on an exorcist. These exorcists were specialists who had a large repertoire of spells and rituals to contain Lamashtu, as well as a number of other illnesses and discomforts.
Exorcists first had to determine that Lamashtu was the cause of the complaints. Illnesses were usually attributed to disgruntled gods because, for example, the patient had angered a deity by not making sacrifices. This could not be true for infants, because they were too young to upset the gods.
The lurking presence of Lamashtu near sick patients was established by a diagnosis using special texts called “diagnostic omina”. For example, if a baby cries a lot and tosses and turns dissatisfied in its mother's lap, it was seen as an ominous sign of Lamashtu's presence. Once it was established that Lamashtu was the source of the complaints, the exorcist had at his disposal a series of special anti-Lamashtu texts with rituals and spells to expel the demoness.