what is better - nails or screws to use for a squeaky old parquet hard wood floor?

if so which type of nail or screw since they seem to grab and squeez when installed by hand much stronger than staples with a gun

we appreciate any help that you can give, thanks in advance