Hi Liza,
Once the pod starts forming if you cut it off straight away you will get more flowers. If the plant thinks it has produced its seeds it then thinks the job is done and stops flowering so it is best to snip a pod off as soon as you see it.
I love sweet peas, enjoy them....
T.