For example when you’re bullish you can buy a Call spread 1x$20C/-1x$25C, which can be worth $5 and you may pay for it, for example $3, so you’d make $2 profit.
OR to make the same exact money and same trade using puts, you can sell Put spread -1x$25P/+1x$20P, also being worth max $5, but instead of paying $3 like for Call spread, you receive $2 credit for selling such Put spread. (both being bullish)
The margin, profit, and everything else will work exactly the same.
Not sure what do you mean by “how to make money”. They both make money the same way, so you simply choose which way you prefer. Some people always trade call spreads for both bullish and bearish bets, others always trade put spreads, and others can trade one or the other depending on what feels more intuitive to them for bullish vs bearish trades.
Btw, you may need to review, research and understand these basics to be comfortable trading any such spreads. (aka vertical spreads)