hello and welcome to hcm forum Prettal,
i would be glad to answer your query, according to the the dental history provided by you it seems, that the ceramic filling is either too high or there is some infection present in the tooth, pain is usually present following trauma or infection in your teeth, you have not mentioned if there is swelling associated with the pain, i assume there is no swelling.
i would like to advise you to visit your
dentist again and ask him to check the filling once again ,as it is hurting you.
also, the black spot over the gum needs to be checked clinically in order to rule out a diagnosis.
till then ,start with warm saline rinses(3-4 times/day),and avoid biting from the affected side.
i hope i answered your query,
i wish you good health,
take care.