the cavity filled before it becomes deep and painful. if you have pain
then kindly get an x-ray done. may be you will have to get root canal treatment
done followed by a crown. avoid having sticky food and sweets before going to bed. brush your teeth twice daily using correct brushing technique.