It's probably alright every once in a while if you really need them, but you generally want to avoid them. Sleep benefits from regularity, and sleeping pills may mess with your ability to fall asleep in the future.