How can I tell the difference between small seizures and headaches?

Normally different. Usually only generalized tonic-clonic seizures (grand mal) seizures are associated with headaches. It would be unusual for a "small" or partial seizure to be associated with a severe headache.
Different problems. Seizures are not usually accompanied by headaches or pain.