The different types of loans and how to choose the right one