Place a little into the ear, and then plug the ear with a piece of cotton wool that has been covered in Vaseline which will prevent the cotton wool from soaking up the oil. Leave it in the ear for a few hours.
Do that twice a day for a few days and all the ear wax will soften.
Do not attempt to poke at the wax. That will just compact it further making it much harder to clear it.