Start with the data sheet for the L298, it will tell you most of what you need to know to make your motor control circuit.
The data sheet lists the logic inputs needed to make it work - basically you need enable (off - high impedance on the outputs), and two inputs to set the direction for each motor (the L298 will drive two motors). Each of these logic is typically driven by a digital output from your controller. Putting a resistor between the controller and L298 on each of the logic connections can reduce the chances of destroying the controller when you blow the L298.
The two devices will need a common ground.
Motors connect to the out 1/2 and out 3/4 pairs.
Sense A and B can go directly to ground with no resistors unless you need to measure the motor current.
There are lots of H bridge tutorials around on the web and youtube to help you along. I have some on my channel https://www.youtube.com/playlist?list=PL30C02F65B2D5C320
, but they reference a different chip and are pretty boring.