Phone Addiction

What are your techniques for shutting down one hour before bed and not picking up your phone in the middle of the night after a run to the bathroom?