Texture is stretched on certain faces
Without seeing your node tree this is my best guess. Under the texture image node change the projection from flat to box. You can also change the blend value but if your stairs are perpendicular it probably won't change anything

Edit: sorry picture is sideways i am on my phone.