I have a male cat who is 5 years old that I have had for almost 2 years. In the past few weeks he2s taken to trying to attack me when I try to go to sleep. He's never done it before and he does it even if he's in another room and comes out when I'm going to be. I don't know how to teach him not to do it. I've tried looking away when he's about to do it, staring him down(I know it makes cats feel threatened sometimes but it worked before with him), blocking him with my pillow, and spraying him with water when he jumps up to attack. No of it has worked though so I need some advice on what to do.