What do I do when I don't know a rule?

It happens to every Game Master
This constantly happens to me, and it's always the outlier rules. You quickly come to memorise the main rules, but it's those ones that only pop up once in every ten sessions that are the awkward ones. The "can I do this as my bonus action?" question gets me often.
So if you don't know every rule yet, don't worry. Nobody at the table expects you to, and the game doesn't have to stop because you need to check something.
A quick word on bonus actions
Because it's the question I get asked most, here's the 2024 rule. You only have a Bonus Action if a rule, such as a class feature or a spell, explicitly says you can take one, and you can't take more than one Bonus Action on a turn. So if nothing on your character sheet lets you do it as a Bonus Action, the answer is no.
Ask the table first
The way I deal with these is to ask the group if anyone knows the formal rule. If no one knows, we'll either look it up, or make our own judgement as a group, with the agreement being that next time it happens, that's what we'll do.
Look it up, or make a call?
It all depends on how critical we perceive the rule to be. If we think not knowing the rule is going to impact the game long term, we'll look it up. If you're playing with experienced players and the rule is important, someone will usually know it. If no one does, it's usually safe to make a judgement call.
If you're playing with new players, my recommendation would be to look it up. New players are still learning how the game works, and a made-up rule can stick in their heads as the real one.
In Critsmith I built the reference library for this reason. Open the Rules tab, type a word or phrase into the search box, such as "bonus action", and it brings up the matching rules.
If you do make a call mid-game, it's worth looking the rule up after the session. If the real rule is different, tell the table at the start of the next session, and decide together whether to switch to it or keep your version.
The rules serve the fun
The rules are great and help make the game enjoyable, but I personally use them more as guidelines. I don't want adherence to strict rules to stifle the collective fun we are having as a group. I'd much rather we made up something we enjoyed than be beholden to a rule we don't actually like.
When a player knows better, or disagrees
Oh, this happens all the time. If a player truly knows the rule, I allow them to educate me and the table. A Game Master doesn't necessarily know everything; this is a group game, and it's absolutely fine for another player to shine and share what they know.
For players that disagree, I try to explain my thought process clearly, so they can see how I got to the decision I made, and then I will genuinely use a group consensus. If we can't make a clear decision either way, the dice rule. We roll a d20 and assign odds and evens, or groups of numbers, to the options.
Keep it quick, too. A rules debate that runs for ten minutes costs the table more fun than getting a rule slightly wrong.
What to do when you don't know a rule
- Ask the table if anyone knows it
- If it matters long term, or your players are new, look it up
- If it doesn't, make a fair call as a group and keep playing
- Agree that's how you'll play it next time, and write it down
- Check the real rule after the session and tell the table
- If you still can't agree, let the dice decide