Olive oil is generally safe to use in small quantities in the ear.
Put 2 or 3 drops of ordinary olive oil down the ear 2 or 3 times a day for 2-3 weeks. This softens the wax so that it then runs out of its own accord without harming the ear.