Given the difficulty of this for the average user, many turn to pre-assembled packs.
Open RetroArch. Go to Main Menu > Information > Core Information . Select the core you want to test (e.g., "Beetle PSX HW"). Scroll down to "Firmware." It should say "Present" in green text next to the required BIOS files.