Has anyone fasted and successful seen results for that purpose ?

I’m currently trying to fast . It’s between me clearing my mind and cleaning my body ... but every time I attempt I fail . Idk if I’m scared or if it’s in my mind but it’s depressing me and at this point I feel I’ll never be slim... idk wat route to go with fasting but I want to master a 10 day fast . I managed to keep my iron up but I have no idea about protein If im juice fastin. I wanna build my confidence & my discipline. Someone help me