Getting Money with 404!

Hi, I heard that you could get money everytime somebody ran into a 404 error page, and I was wondering how I could get this done?

THANKS IN ADVANCE