flashing bios on it's own

No where near enough information to effectively troubleshoot.
Is the PC still in Windows environment or is it in BIOS?
Build summary?
What did you press when surfing?
Anything notable happen before the event?

Take a picture and post it.