from tkinter import *


rot = Tk()

messagebox.showerror(title="Fel", message="Du har just gjort fel.")

rot.mainloop()