well the only treatment for cavity is its removal followed by restoration.
depending on the extent of tooth decay
treatment is decided..... like for instance if it hs reached upto pulp (the inner most part of the tooth) then only root canal treatment
can save the tooth & if it is limited up-to enamel of superficial dentin
then it can be restored easily.
it is advised that u consult a dentist
as soon as possible & get your cavity examined. get An IOPAR done it would to exact extent of tooth destruction.
in your case since you cant visit a dentist for 2 weeks you should take any anti-inflammatory drug that would provide you some relive.