Shuts off during a call..Support

My phone turns off when I accept someone's call, sometimes when I have to call myself and won't come back on unless I take the battery out and put it in again. The button turn on/off before taking the battery out doesn't work. It's really annoying because I have important people calling me.