Do steroid creams trigger outbreaks for you?

Doctor said to use a steroid cream for something else but I’m worried it might trigger an hsv outbreak.