Be careful not to cut yourself off emotionally from yourself. This is unhealthy. It's best to be mindful of why you are afraid of getting hurt or being vulnerable in the first place. Addressing those issues is healthier than "building walls." Walls keep others out, but they also keep you trapped in.