Usually you are given antibiotics to ward off any infection. And it will usually fix itself.
That is my understanding.
A small surgical procedure is sometimes necessary to close the hole if the gum tissue grows together with the sinus tissue to form a tunnel