Usually, the on-duty staff will alert the on-duty assistant librarian first. Then depending on the size of the library, a staff will assist the parents/guardian looking for the child (including, but not limited to the use of PA system, walk-around, etc.)
If the situation is deteriorating, the police will be called.