The fact that you had just fingered and NOT had sex is enough to say that you would not have been
pregnant. The period has also proved that your act did not result in pregnancy.
The backpain headache, pain in vaginal region could be an ovulation pain as it happened on 12 the day of the period.
If the urine test has revealed an infection, it is best to get treated for the same.
Next Steps
Visit a gynecologist and get evaluated. If the need be you will be given antibiotics to remove the urine infection