Hello I am Dr Ravinder Sharma ENT surgeon
It appepars that your problem of blood stained q tip is because of abrasion in the external auditory canal due to cleaning. However it can be because of rupture of ear drum (if you have gone too deep). It seems your headache is not related with blood discharge form ear canal
but it will be better to -----plan for a ENT consultation to resolve the issue as examination of ear will be diagnostic in your case.
Feel free to contact me if you have more concerns