Cannot reset device after its encryption got unsuccessful????

Jul 5, 2018
1
0
10
My Samsung Galaxy J5 handset was displaying encryption unsuccessful i tried to solve it by both ways safe mode and hard reset mode but failed.kindly guide me what to do??