Always read the recipe carefully, weigh ingredients using accurate measures and scales and follow the order of the recipe making sure nothing is missed out - ticking off ingredients and instructions as you complete them.
Here are some questions and answers which I hope will help.
Q: Why do cakes sink? A: Oven door opened...