I totally get what you mean. Sometimes it's really frustrating and you want to waste chips, but don't do that. Instead, take a deep breath and focus:
If you're just playing at the tables:
- what have I lost so far today?
- how long have I been playing today?
If you feel too frustrated and can't calm down, take a break or stop for the day. Take your mind off the poker.
If you're playing in (a) tournament(s):
- at what position am I currently? Am I close to the money?
- how high are the blinds?
- how many chips do I have left?
Don't forget! It's not because you're low stack after you just lost a big pot, that it's all over. Don't stop believing. Don't immediately go all-in, wait for the right moment to call, bet, raise, check, go all-in, etc. As a player with a low stack, you're limited, but it has its advantages when you have the winning hand. Players will often call you because they think you're desperate or you're trying to steal the blinds.
Music is also a great way to calm yourself down. Energetic music might not be ideal, unless that calms you.