How can I stop tempting myself with my phone and sleep better

Kristina G.
Set an alarm for a bit before your bedtime and shut your phone down, cold turkey. Make sure to put the phone far away from your bed, best in a different room, so you're less tempted.
Suzanna P.
Set a hard time to disconnect your phone's wifi. That way you will have less incentive yo keep using your phone. Alternatively, shut off your phone entirely by midnight