Thanks for the query.
You might have developed furuncle
It is a deep bacterial infections.
Ingrown hair can be one of the cause for this.
Blood oozes out due to presence of infection.
Treatment is with antibiotics but the choice of antibiotics should be based on culture and sensitivity tests.
If possible surgical drainage
can also be done.
Please meet a dermatologist
for exact diagnosis.
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.
Wishing you a good health.