3 steps to get more salary:
(1) Build more skills aligned with the trends (eg. if you are a coder then learn new programming languages)
(2) Negotiate your salary periodically but sensibly (if you don't ask, you will not get).
(3) Always scout for more options.
You will get paid your highest potential: when you are irreplaceable (or very valuable) to your firm AND you have other options.