What is preparation h cream used for?

Nothing. Prep h has no documented benefit except as a lubricant. But if it helps, then you probably have minimal hemorrhoidal problems.