You need to be seen by a physician as soon as possible. Bleeding from your nose to various locations in your throat can lead to blood emanating from your mouth. The biggest worry is having a lesion or tumor that may be leading to this problem. Other possibilities are bleeding disorders, trauma, mucosal irritation, tonsillar bleeding, and the effects of anticlotting medication.
Also, other sources could be from lung or gi tract.