You generally can't. XP lacks drivers for USB 3.0, NVMe, and most integrated graphics post-2012. Use a VM instead.
To run Windows XP effectively, your hardware (or virtual machine) should meet these minimums: Windows XP Original (x86-x64) MSDN ISO Files windows xp img file download 32-bit
: This is widely considered the safest source for "clean," unmodified retail or MSDN disc images. You generally can't
Perhaps the best resource for retro OS images. They offer: windows xp img file download 32-bit
Why? The use cases are varied but legitimate: