what you should know before applying for a loan