Here are a few tips for exercise beginners:
Set realistic goals and know that the process is a marathon, not a sprint
No, you will not be able to lose 10kg of weight in a month, well at least in now healthy way. Losing weight or building muscle and retaining it is a long-term process. The body does not like changes, it has to adapt to new changes so it can make it the norm. Quick changes in the body are fought back by the body as a self-defensive mechanism. That's why 99% of people who lose weight gain it back.
Be consistent, make it a habit
This ties in with the first tip; since it takes time to achieve your goals, make sure you are consistent with your training. It will be hard at the beginning to make it to the gym, but push yourself and eventually, it will get easier each time. By the end, you will want to go yourself without having to force yourself.
Don't do too much too soon.
Again, people usually want results right away, so they go to the gym 7 days a week and starve themselves by not eating, and you know what happens? They crash. The crash, and then they give up everything. Start slowly, add one thing to another, doing too much too soon will raise cortisol levels which will eventually store more body fat. Also, starting things slowly will guarantee that you won't plateau, you'll still have a card up your sleeve.
Pick A reputable program or hire a trainer.
People tend to think that they know what they're doing in the gym. Well if this was true then there wouldn't be a growing need for trainers or programs. Make sure what you're doing in the gym is actually beneficial and not just wasting your time or even worse causing you damage.
It doesn't matter how hard you train at the gym if you don't recover. Recovery consists of getting enough sleep, getting micronutrient-rich foods (especially if you are in a deficit), getting adequate amounts of protein, and not pushing yourself too hard.