It depends! Some objects can be removed easily with little drama. For objects that are difficult to remove, higher up the nasal passage, or causing pain and distress then a trip to your local medical center will be necessary.
If the object is a button battery then it’s a medical emergency and you should take your child to the ER immediately.