Nose bleed has several reasons. Since you have not given details about your age, histrory of previous attacks, high blood pressure
or other nose problems, I can only advise you in general way.
Please put ice packs over the nose, Lie down flat on your back.
Head ache may be due to high blood pressure.
So check your blood pressure also.
Consult a doctor who will examine your nose and then give proper treatment.