I’ve done that a couple of times… Only once from fighting, honest! Was quite funny when they x-rayed the hand I’d just broken, and did a comparison shot of the other hand- i didn’t know I’d ever broken it, so was a wee bit of a surprise to see the old fractures.
Anyway… Not much to be done but wait to get better, was the story for me. Ibuprofen initially then switched to paracetemol after the initial swelling dropped, tried to get on fairly normally. Wasn’t on the bike at the time but wouldn’t have been riding, that’s for sure. I think about a month before i could manage the motorbike.