Most tablets should work with a basic stylus pen, granted that the screen isn't damaged. How well they work with a stylus is more down to the tablet itself and the pen.
If you are looking to draw or take notes, then we'd suggest going for an "active" stylus like the Apple Pencil or Samsung S-Pen. These styluses are pressure-sensitive and come loaded with features that make writing and drawing easier. Meanwhile, the "passive" styluses are the ones that make navigation and controls easier.