How long does it take to reach the level of ijtihad and what should we do to reach this level?

This takes many decades of study and dedication. It can only be achieved by studying in the seminary