This is the titration of a weak acid with a strong base. First you need to look up the pKa for your acid, or the Ka. pKa is the negative log of Ka, or Ka=10-pKa.
NaOH is really just OH-. Each molecule of OH- removes one H+ to form water, reducing the concentration of H+ and therefore raising the pH. To find the moles of NaOH added, use dimensional analysis, eg:
5.0*10^-3 L*0.05 mole NaOH = ?
Then you can figure out how much H+ you're starting with using the relationship Ka=([Conjugate base][H+])/[Acid] You might remember your prof setting up a table in class that explains how to solve this algebraically for [H+]? This will give your starting pH, remembering that pH=-Log[H+]
That should get you started