Your question is a good one but a bit too general to address in this limited space. Try looking over the following tutorial and if you have specific questions, feel free to ask.
http://www.wyzant.com/resources/lessons/math/algebra/rational_expressions