It works well for my small senior dog.  It prevents her from jumping off the bed.   It took awhile for her to get used to it. I started with treat and praise training.  Now if she looks like she wants off the bed I say stairs, and uses the stairs, and we praise her for taking them.  She always wants to please mama.