Man survives heart attack with help at his church