Knowing about the different types of mortgages can help with setting up the right plan for your future.