How to get rid off purple fringing

Chromatic aberration

This dreadful purple fringe and her evil sisters yellow, green and red! They really get on my nerves while processing digital images i've shoot. Basicaly because I don't have kick ass PRO camera, and at the time I bought my sweet Nikon D40 the one thing I knew about lenses was that if they give two in the price of one, I should buy it.