The phrase "to do in a similar situation" means to take action or make decisions that are appropriate and effective when faced with circumstances that resemble those experienced before. It implies learning from past experiences, applying relevant knowledge and skills, and adapting one's behavior accordingly.