I also sometimes have knee pain, but it might be because I have only been riding for the past two weeks.
My gearing is 49/18 with 172.5mm cranks. If I ride mostly flat, with some hills would it be better to go down on the cog tooth count (say a 15t or 16t) or up? I want it to be easier to pedal.