If the blood coming from anus is associated with loose stools,it could be Dysentry.It may be due to Bacterial or Parasitic or mixed.
Please take an Antibiotic with combination of Levofloxacin
250mg and Ornidazole
500mg for 5 days.You also add a Pre and Probiotic
If the symptoms doesn't subside,please consult Surgeon for proper diagnosis.
These symptoms are not related to skin cancer
Wish you good health and speedy recovery