If you can't easily see the object and you've tried removing it more than once, stop and get care. Delays and failed tries to remove it can lead to infection and damage.
After you remove the object, if there's still pain, discharge from the ear canal, problems hearing or feeling there is something lodged in the ear, see a healthcare professional.