Please clarify as your question is unclear.
You must invoke Command + R before the OS attempts to load. I suggest you connect your wireless KB to the Mac with its charging cable. This will make it a wired KB. Once you get your system straightened out, you can pair the KB wirelessly.
Loading the recovery panel (Command + R) is done in a very Short time period right after the Mac is powered up.
You got to be quick about it.
Apple says, "To start up from macOS Recovery, press the power button to turn on your Mac, then immediately press and hold these two keys until you see an Apple logo or other image: Command (⌘) and R"
A real wired USB KB is a better approach as den.thed advises