You're doing a titration of the carbonic acid $\ce{H_2CO_3}$ which is the product of the dissolution of $\ce{CO_2}$ in water by a base here the sodium hydroxide. According to wikipedia for carbonic acid, $\ce{pKa_1=3.6}$, $\ce{pKa_2=6.3}$ and $\ce{pKa_3=10.32}$.
When the carbon dioxyde is in water, the solution is acid then your phenolphtalein is colorless. During your titration while not all the carbonic acid as react then the solution will still be colorless because phenolphtalein's color change appears at around $\ce{pH=8.2}$ (Ref). Then when you finish you're titration the color of the solution will change.
You need to make some prediction to find the theorical pH at the equivalence.
In this case at the equivalence $\ce{[H^+]=\sqrt{Ka_1Ka_2}}=1.26 \times 10^{-10}$ then $$\ce{pH_{eq}=-\log_{10}(1.26 \times 10^{-10})=9.9}$$
So at this point the phenolphtalein must be pink and then no more acid (so carbone dioxyde) will be in your solution. You'll have only carbonate ion which will not react with sodium hydroxyde.