If your doc prescribed it, he or she should be able to answer that question for you.
My derm told me I could use whatever makes it feel better, and didn't say anything about waiting two hours as I have read repeatedly here and elsewhere. (I am waiting two hours.)