thanks for sharing your query
please do not get worried
bleeding from gums can be due to accumulation of food , gingivitis(inflammation of gums) , calculus , plaque
for this visit a dentist
and get scaling , polishing (cleaning of teeth) done.
and headache please visit a physician and get few tests done , as advised by him.
meanwhile maintain proper oral hygiene
antibiotic mouthwash 3 times in a day.
take nutritious diet