How do you discipline yourself to put your phone away at a certain time?

Sukhbir F.
By keeping a habit tracker to track how manu nights did I leave the phone out of bed and by reading a book instead of phone.