I have not paid Khums in my life. I wanted to do it now…Can you please let me know how to compute the Khums for the first time?

You need to estimate as far back as possible, as well as deduct the loan from the khums. Please read this book and if you have any questions please ask:

https://www.al-islam.org/khums-islamic-tax-sayyid-muhammad-rizvi