Learn e4 (King pawn opening). There are many traps there you can learn from it. These traps works well on beginners. The traps also increase your knowledge in chess.
What good opening should I earn as a beginner?

I really like the Chess.com lessons on openings. They aren't as caught up in remembering "main lines" but more focused on principles -- control the center, protect pieces, attack f7, etc.

I just recently learned 1. c4, x 2. b3 (English) and went 3-0-2 undefeated in my last two tournaments (1200-1500 rated players). Took 5 minutes.
Next to theory and the opening is sound; just don’t forget to fianchetto your bishop lol.
Throw most of your opponent off because there is little preparation or resources available. Target the centre and the game get’s scary for your opponent when the bishop pair are x-raying the opponents king after castling. Castling queenside into an expanded queenside is no bargain either.
https://www.chess.com/game/live/42688139671
https://www.chess.com/game/live/42629364607
https://www.chess.com/game/live/42607159847
https://www.chess.com/game/live/42433149897
https://www.chess.com/game/live/42625735523

Many beginners start with the e4/ e5 opening. This results in openings such as the Spanish Game, Russian Game, Italian Game, and more. Then focus on getting the knights and bishops out toward the center.

Chess Openings Resources for Beginners and Beyond...
https://www.chess.com/blog/RussBell/openings-resources-for-beginners-and-beyond
https://www.chess.com/blog/RussBell
In order to choose an opening, focus on what kind of game you are more comfortable with. Do you like developing the knights first or the bishops first? Do you mind developing the c knight in front of the c pawn or do you prefer to push it before so that it doesn't get blocked? Do you fianchetto your bishops or do you prefer developing them towards the center? Little stuff like that should give you a hint of which openings are better for you.

Beginners best focus on swashbuckling-style chess for learning piece connections and attacking strategies.
Typical openings are King's Gambit, Philidor Defense, Scotch, Italian, Danish Gambit, Evans Gambit.
Just play around and don't touch anything highly positional like the Ruy, Sicilian, English, Caro-Kann, French, Grunfeld, or QGD yet.
In my view the most logical progression is King's Gambit - Philidor - Scotch/Italian/Petrov - Vienna - BDG - Alekhine's / Van Geet / Black Knight's Tango - NLA - French - Caro-Kann - Closed Sicilian - Dutch / Bird - Scandinavian - Modern - KID / KIA / QID - NID - Benoni - London - QGD/QGA - English - Open Sicilian - Grunfeld - Ruy.
I just don't know.