Summarize:

Wipe up any excess glue with a rag. Vacuum up any sawdust that's been left behind. Store or discard any pieces of wood that you didn't use. Put away nails and tools. Glue can expand after it dries, which can lift the replacement boards and make them uneven with the original ones. To prevent the new boards from rising, cover them with heavy objects like books, potted plants, or tools. After 24 hours, remove the objects and enjoy your level floor. Store several pieces of spare flooring somewhere safe and climate controlled. That way, if you need to repair or replace a board in the future, you'll have the hardwood ready and waiting.
Clean and vacuum the area thoroughly. Weigh down the new boards for 24 hours if you used glue. Keep spare boards on hand for future repairs.