Thanks for your query at DoctorSpring.com
I understand your concern
As your girlfriend has period 4 th day after having sex there is no chance of pregnancy. However, reason for heavy bleeding needs to be investigated. A physical examination of her abdomen and ultrasonography is required to rule out cause of pain in stomach.