Shape yourself in a long term thinker! If you find yourself frequently getting angry often when an opponent makes a bad play and ends up lucking out, you need to work on your mindset. Players like that are the reason you can earn a profit in the long run. Be able to shrug off misfortune on the short term.
If you decide to bluff, you need to keep three things in mind. The first thing is that your bluff needs to be believable. Your previous actions during the hand and your final bluff attempt have to be believable. It is unlikely that a Deuce on the river with no aggression from you previously in the hand has suddenly given you a very good hand.
Secondly, you have to bet enough. If I have a weak pair and you bet 1 dollar in a 9 dollar pot I only need to win less than 10% of the time to make calling profitable, so I will call you with a lot of hands if you only bet a small amount compared to the pot. Never bluff for less than half the potsize. Don’t just shove all-in unless this makes sense either. If you bluff 20 dollar into a 10 dollar your bluff needs to work 2 times out of 3 to be profitable, which will not often be the case. A bet of 2/3rd to 3/4th of the potsize is common, since you would also bet around those amounts if you would have a legitimate hand.
If you raise instead of limping you have a lot more possibilities to winning the pot. You might win the pot preflop and if you get called you still have options to win the pot at that point. You could have the best hand and bet for value or you can miss the flop and pick the pot up with a bluff. Since you already showed strength by raising, betting again on the flop will often give you the pot. Betting again on the flop after you raised preflop is called making a continuation bet.
When you limp (=just call the minimum amount when noone has raised yet) you can only win after the flop and are very likely to run into trouble if you don’t hit the flop. At the very least you will have one opponent still in the hand after the flop, since you gave the big blind a free look at the flop.