I’ve realised that in the years before I didn’t do my khums properly. I thought I did it properly at the time. What should I do now?

You should just pay the difference.