You never master it. Officiating is an evolving process. Every year something changes whether it is rules, philosophy or mechanics. It takes time to master even the most little things and even then you make mistakes.
If you think it takes only a few months, you have a lot more to learn based on some previous posts.
Peace