Professional seamstresses and tailors are likely to be able to stitch straight away without basting, but other people have to resort to pre-basting - placing large “temporary” stitches by hand to properly align parts before sewing on a “permanent” sewing machine.
Steps
Method 1 of 2: Hand Basting

Step 1. Thread the needle and tie a knot on it

Step 2. Align the fabric and start sewing with a basting stitch
There is nothing difficult about this, just bring the needle up, down, up, down. You can adjust the fabric as you go, if necessary, and adjust a little.

Step 3. When you are satisfied with the basting result, sew a permanent stitch, replacing the basting stitch
Method 2 of 2: Sweeping

Step 1. Set the maximum stitch length

Step 2. Pull off the fabric gently

Step 3. Sew slowly, adjusting as you go

Step 4. Check the result

Step 5. Set the normal stitch length (usually 1.5 - 2.5 mm) and sew a constant stitch

Step 6. Remove the basting stitching that is visible from the front of your garment
Advice
- You can sweep by hand or on a typewriter, depending on the circumstances and needs of the specific object you are performing.
- The purpose of tacking is to create a temporary seam that can be easily ripped open and reworked if the garment or item does not come out as it should. This saves you from a lot of painstaking work on ripping a tight seam if it gave a bad result.