Can you tell me if on a serious diet, how can I avoid eating carbs and fat?

Choose wisely. Choose complex carbohydrates, like fresh fruits and whole grains. Eat in portion control. Dont avoid these foods, but eat moderately. Fats- cook, broil, bake and try not to eat fried foods or creams or gravies, or eat sparingly. Dont completely avoid fats, your body needs some fat to absorb the vitamins A, D, E and K. Avoiding fats can lead to a deficiency. Just minimize your fat intake.