A black patch on your teeth is suggestive of tooth decay
. As you said that there is pain
too, you surely require to get those teeth treated at the earliest. Depending on the extent of decay your teeth may require filling or root canal treatment
. Tooth decay if left unattended will go on increasing leading to loss of your teeth. Please visit your dentist
at the earliest.