A buffer stop for the end of your HO scale lines.
To install, cut the end of your rail flush with the last sleeper. Place the buffer stop under the sleepers, with the sleeper and rail up against the vertical parts of the buffer stop. Fill in and around with ballast.