Sodium hydroxide is a strong base that can increase the pH of a solution. If sodium hydroxide is added to a solution of pepsinogen, it will raise the pH and cause the pepsinogen to be converted into pepsin. However, the pepsin will not be active in the high pH environment and will therefore not be able to break down proteins.
In summary, sodium hydroxide has the effect of converting pepsinogen into pepsin, but the pepsin will not be active in the high pH environment created by the sodium hydroxide.