NSAIDs affect kidney function by restricting blood flow to the blood-filtering components of the kidneys, which suggests the risks from the drugs are greater among children who are dehydrated due to the effects of their illness, such as vomiting or diarrhea, Misurac said.