Fortunately, there are some very good guides that show you how to tackle the puzzle.
The toy, invented in 1974 by Hungarian architecture and design professor Erno Rubik, consists of a cube made up of 27 smaller cubes arranged in a 3x3x3 grid with colored stickers on the outer faces of the smaller cubes. A cube starts out in its "solved" configuration with the smaller faces each of the six sides sharing the same color. Each of the six faces of the cube can be rotated freely, moving the smaller cubes around.
The goal of a Rubik's Cube puzzle is to start with some randomized, shuffled, messy configuration of the cube and, by rotating the faces, get back to the original solved pattern with each side being a single color.
The key to solving a Rubik's Cube is breaking the problem down into smaller steps. The official guide above starts off solving a single face of the cube, putting all of the white squares on a single face and in their correct positions. Next, one solves the middle layer of the puzzle, shuffling edge cubes into place while keeping the already-solved white face intact.
A puzzle solver then gets all of the yellow squares on the opposite face from the white squares, and then finishes the puzzle by putting those cubes into their correct positions.
As you keep moving through the steps, the combinations of moves tend to get more complicated and elaborate. This is because the sequences of moves need to shuffle the desired cubes to where they need to go while also keeping solved parts of the puzzle intact.
Check out the Rubiks Cube intro guide in full here