As a rule of thumb, determine the pips you take based on risk reward of at least 2. For 50 pips stop loss, make sure you are getting at least 100 pips back.
When you are scalping, factor in spreads into your stop loss level and see if the trade is worth taking. If you are aiming for 5 pips but you are paying 1pip spread, with stop loss of 2.5 pips, you will be risking 3.5pips for 5 pips gain. This is not too worth it. For scalpers, you need to find currency pairs such as EURUSD and USDJPY with tight spreads, change a forex broker if you need to. Otherwise, you can consider increasing your take profit level.
For swing traders, since take profit levels are usually more than 50pips, spreads will be quite insignificant. If you are targeting 100 pips with stop loss of 50 pips and spread of 1 pip, you are risking 51 pips for 100 pips gain. You still need to get tight spreads from your broker but spreads are marginal relative to the case of scalpers.
As i said earlier, you need to look at what the market can give you, not what you want from the market. Hence you need to determine the price level at which you will want to take profit, calculate the take profit to stop loss level and determine if it meets risk reward of at least 2. If yes, go ahead with the trade.