Stock stagnation

How do stocks get stuck in this scenario in intraday, and what is the best possible option if we find ourselves in this situation?