Calorie deficits are a risky subject... I don’t think there is any specific “method” to it— but if you want to lose weight, don’t overeat. However you shouldn’t be under-eating either, as that can cause binging later on and is not sustainable in the long term. To get the best results PLEASE talk to a dietitian who can provide you with the best options for your body since everyone is different.
If a dietitian isn’t an option, exercise helps tremendously. The more muscle mass your body has, the more calories it burns, which makes it easier to lose fat.
Overall, listen to your body. There are plenty of healthy meals that have less calories but fill you up well, so go with those. Lean meats, vegetables, fresh fruit— all great for you. Make sure you eat a variety of foods to make sure you are well nourished all around.
I hope this helps and best of luck to you!