Body issues

How do you deal with accepting your body and loving your body for what it is. I'm not over weight but I've always been very body conscious and I don't feel like I am where I want to be. How do you stop comparing yourself to others and accept yourself and stay motivated. I sometimes become demotivated to exercise or eat healthily due to my anxiety and depression