I work in 911 dispatch, it drives me nuts how many people lose consciousness for various reasons, and then when they come to they say they’re fine and don’t need to be checked out.
There’s maybe some very narrow exceptions for people with known conditions that they’re already managing with the help of a doctor and they know exactly what’s causing it.
But in general, if you’re losing consciousness that’s a bad sign and you need to see a doctor about that ASAP