How to make Compost for Soil?

#1
I am looking to add compost for my garden plants and new plants that are in under consideration. I can buy, but the cost make me to loss, so please guide me how to start processing compost using Vegetables.