Go to a pharmacy and get an ear cleaning kit. It should come with a plastic tub, a bottle of some substance, and a rubber bulb with a spout. Put the substance into your ear, let it sit there for maybe 10-15 minutes, then fill the tub with some warm water and hydrogen peroxide, and fill the bulb with it, then fairly forcefully squirt the mixture into your ear with your ear facing the sink or whatever you're going to drain this into. You will probably have to do this _several_ times, if not more, to get everything out. However, it should be able to clear the wax plug and bring you back to normal, for the most part.
It may be worth noting that I got a really bad illness a few months ago, and my ears clogged up, and then I got this persistent ringing in them that hasn't gone away since (ringing that I didn't have before). So I don't know if the ringing will go away, but the plug should.