Q.How and when to prune a fig tree
I have a question: do I prune my fig tree after main fruit harvest? If fruits are forming on the new growth, do you have to prune it every year ? The new growth on my tree is only about 30 cm so the next year crop will be very small. Please help, as I have never grown fig tree.

You do not have to prune every year, just lightly thin and shape, remove dead and crossing branches, as needed. Fruit is not dependent on heavy new growth. What is more important is good soil and water management. Fertilize with an all purpose COF (complete organic fertilizer) and deep water once a week or as needed. Mulch the soil surface under the foliar crown and a little beyond to help retain soil moisture.
Sample of what to look for, maybe on Amazon if not available locally:
https://www.domyown.com/dr-earth-organic-all-purpose-fertilizer-p-9485.html