Conditional skipping or presentation of stimulus

OS : Windows 10
PsychoPy version : v2021.2.3
Standard Standalone? (y/n) If not then what?: Standard Standalone
What are you trying to achieve?:
The presentation of some stimuli should depend on the response to a previous question

What did you try to make it work?:
Tried creating a loop around the question which determines whether the next stimuli will be presented or skipped

What specifically went wrong when you tried that?:
I am not sure which Loop properties will help me achieve what I want