How to not scare him off

Does he keep on leaving you? or running for the hills when you open up to him? This advice will make him stay!