call it a night

[call it a night] {v. phr.} To declare that an evening party or other activity conducted late in the day is finished.

I am so tired that I am going to call it a night and go to bed.