Addiction to Sweets

I struggle hard with eating well, particularly eating sweets! I'm trying to lose weight but I constantly seem to crave chocolate, cookies, ice cream, etc. Any tips on how to curb this??