Ideally, you want to just avoid screens altogether in the hour (or perhaps two) before bed. This is the period in which research suggests screens use can have the most disruptive effect on your sleep cycle.