kindly get scaling done and use gum paint twice daily for 15 days. kindly get an x-ray done of the tooth having pain
. may be you will have to get root canal treatment
done followed by a crown or cap. If the carious infection
is superficial ie only till your dentin then kindly get the cavity filled before it becomes deep and painful. brush your teeth twice daily using correct brushing technique to maintain your oral hygiene.