Honestly I don't really get the question. Have you never ever watched your mom cooking or helped her in the kitchen?
Anyways, there are (at least in Germany) dozens of cooking books featuring basic recipes in how to prepare various ingredients. From vegetables to meat, pasta, rice, sauces, you name it. Those are good for getting into cooking if you really need the basic techniques like sauting, roasting meat etc.
I suggest you get such a basic book and additionally a good book with more detailed recipes. I really enjoy oriental and indian food, the "german gut-bürgerliche kitchen" (local recipes) I normally don't need recipes for, if so I ask my mom.
Think what you like to eat, if it's traditional ask your mom or grandma, if not: get a recipe. (The internet is a good place too)
Also experiment with different spices. With some routine you will get how thinks work, what ingredients go well together and are able to come up with your own creations.
Have a good stock of vegeteables at home all the time. Carrots, celery, leek make for a good base. Also a range of lentils, chick peas, various dried or canned beans, rice, noodles. For a more oriental inspired kitchen also bulgur and couscous. You can buy fresh herbs and keep them readily prepared in the freezer or, alternatively, buy them freeze-dried. (Fresh is better, imo.)
At last, don't get discouraged if a meal just plainly sucks. It happens. It will still happen after years, even with meals you've done hundreds of times. Just yesterday I fucked one up by forgetting the lentils on the stove just to have them ending up way overcooked.