How to applly security patch

Hi Team,

I want to update security patch on asterisk server 1.4.x.

Kindly provide me some command or document so I can apply patches on my asterisk servers.

Thanks