How to End Screen Time Without A Struggle

Do you ever struggle with getting your kids off the screen? Does it often end in tears (both theirs and yours)? This could help.