A blood test is used to detect lead levels in the body, and if high, steps can be taken to reduce exposure and treat the poisoning.