Probably the best way to learn openings are books . so if you want to know deep theory i would recommend buying a book about that opening but if cannot find tactics you just have to play puzzles a lot .
and for the end games you can firstable learn the eazy pawn endgames and then simply add stuff to your repertuar .
... Possession of the centre of the board, or the area you plan to attack in, with strong, supported pawns is the absolute essential of beginners chess....
Pawns form the "terrain" of the chessboard, and they determine whether the battle will take place in the open fields or in the narrow alleyways of a town.