IPOs look tempting. Here is the right way to approach them.