You need to learn more about Op Amps and how to use them.
http://www.ti.com/lit/an/slod006b/slod006b.pdf