Bit down and got a sharp shooting pain in my tooth

I do not know what to do as the dentists are closed.

I bit down on pastaand got a shard shooting pain from a tooth, I think it is one where I have had a filling on it. BUt I do not know what to do, anyone with any advise? I am in the uk.