Is there a way to remove earwax properly?

My aunt is a doctor and has told me never to stick anything thinner than my pinky in my ear unless it's absolutely necessary. And if it's absolutely necessary go to a doctor.