Small objects are commonly swallowed by children. Many will enter the digestive system without choking the casualty, and leave the body in its natural way.
However, you should seek medical attention irrespective. If you know that the object was sharp or toxic, then you must seek urgent medical attention.
If the object becomes stuck in the respiratory tract, then you should follow the choking procedure.
Some sharp objects may stick in the throat, such as fish bones or glass. If this is the case, then you must seek urgent medical attention as the airway could swell which would affect the casualty’s ability to breathe normally.