Your use of "p*ssed off" is correct. It means to be angry.
However, "to p*ss off" means two things. 1) To make someone else angry 2) to leave
I was p*ssed off with his behaviour. Correct.
Don't p*ss off - this doesn't make any sense. It effectively means "Don't leave" but we wouldn't use it in this way.
Don't p*ss me off - Don't make me angry.
He will p*ss off if you him any questions - He will leave if you ask him anything. That is an unnatural statement.
He will get p*ssed off if you ask him any questions - He will become angry if you ask him anything.