If you were writing a diary you would use can't rather than cannot
If you were writing a formal essay - on say a history topic you should never use can't and always use cannot or can not

Can't is...