What Animus and Ace said is very true. I started dieting in October, not just to lose a few pounds, but to eat and be healthier. The cravings and hunger were insane for about the first month. The best thing to do is just get rid of all the tempting foods you have in your house. For now, I'd say eat that candy bar that you have rather than throw it away, then once it's gone, do a grocery run and buy a bunch of healthy foods, and don't buy any sweets.
One thing I found that helps with sweet cravings is to drink some hot chocolate. It's sweet but not too sweet, is surprisingly low cal, and since it has a bit of dairy in it, it can help curb hunger for a little bit. And to help with the carb cravings, sometimes it's simply unavoidable because you can seriously get sooo hungry. Nothing makes you feel full like carbs. So what I've done is allow myself a healthier carb with my dinner, which is usually either couscous or rice. Stay away from pasta and bread.
I've been eating mostly yogurt, fruit, oatmeal, a ton of fish sautéed in lemon and garlic, fruit smoothies, granola bars, and salad.
Try to stay away from too much cheese too, as it's loaded with sodium, which can bloat the shit out of you. That one has been really tough for me, cuz I absolutely love cheese. So I just try not to buy it. Unfortunately, my boyfriend and I went to Sam's Club last month and he got this giant ass block of cheddar cheese, and I've found myself sneaking a slice of it every now and then. So again, as long as it's not in the house at all, it won't tempt you.
Oh and try
this. It's a calculator based on your age, weight, height, gender, and amount of exercise, telling you how many calories you should eat per day to either lose or maintain your weight, based on the information you enter. Most of the time, all you hear is, "Based on a 2000 calorie diet." That doesn't hold true for everyone. For me, I should be eating about 1500 calories per day to maintain my weight, and about 1200 to lose weight. Yours will be different. Just take a look at it, and try to stick to it if you can.
Be mindful of your vitamins too. I've been keeping track of not just calories, but about 30 vitamins and minerals on a daily basis. It's not just important to cut out sweets and carbs, and it's not always about how much you eat, it's about
what you eat.
Also, another trick: Instead of eating three full meals a day, try having several small snacks throughout the day and eating one full meal at night. I've pretty much always done that, but with this diet I found that it can be really helpful because if I eat more in the morning and afternoon, that gives me very few calories to work with in the evening, which is the worst time to feel hungry, as it's difficult to sleep on a hungry stomach. Try to hold off on your hunger too much until the evening.
Oh, and keep a food journal if you're feeling up to it. That will really help you to keep track of and see what you're really putting into your body. Write down every single thing you eat and drink every day, including condiments and garnishes (butter, mustard, mayo, herbs, salt, pepper, ketchup, oil, etc.), and write down the total calories for each item. At the end of the day, calculate all the calories. For me, I've not only been calculating calories each day, but all the vitamins and minerals. It's a long process, but really works.
Remember, you need to be truly dedicated to your diet for it to work. And you won't see results overnight, it's going to take some time.