Difference Between Riba and Mortgage

Would you please send me some information on the basic differences between riba and mortgage, and on the right way in Islam to do mortgage?