Practice ignoring the self-critical, judgmental thoughts and focusing on the self-appreciating thoughts. And gradually it will become easier to celebrate your body as it deserves to be celebrated, to treat it with the respect and affection it deserves, and to approach sex with confidence and joy.