Typically you'd add an instruction like "Think about this step-by-step first and then give me the answer"
I could modify this more if you can share your use case.
Many times, I like outputs as JSON so I'd ask for an answer and then say:
Respond in this JSON format: {"reason": "think step-by-step and give a detailed reasoning on the question and the answer", "answer": "the final answer"}