Four motions cover nearly all of swimwear sewing: a stretch stitch, elastic applied to a curved opening, a bound edge, and a seam finish that will not unravel. You can practice all four in an afternoon on scraps the size of your palm, and you should, because every one of them shows up in the first garment you make.
Learn the stitch your machine already has
Most machines hide a suitable stretch stitch somewhere in the pattern dial: a narrow zigzag, a triple straight stitch, or a dedicated stretch stitch that sews each stitch twice. Set the zigzag to about half a millimeter of width and a moderate length, then sew a line on a double layer of scrap. Pull the seam firmly in both directions. If the thread snaps before the fabric gives, shorten the stitch or widen the zigzag slightly and test again.
Do this on the same fabric you plan to use. A stitch that survives one knit can fail on a heavier one, and the point of the exercise is to find that out on a scrap rather than on a leg opening.
Apply elastic to a curve without ripples
Elastic is where beginners lose confidence, and the reason is almost always tension rather than technique. Mark the elastic and the fabric into quarters, pin them at the marks, then stretch only the elastic as you sew between pins. Hold the fabric lightly; letting it stretch under the needle is what produces the wavy edge. Keep the elastic against the raw edge, stitch with a narrow zigzag, then flip and topstitch.
- Practice on a curved scrap, not a straight one, because leg openings are curves.
- Count the pins and keep them evenly spaced so the stretch is even.
- Stop with the needle down when you adjust your grip, so nothing slips.
- Trim the seam allowance after stitching, close to the stitch line, for a flat finish.
Bind an opening on a coaster-sized scrap
Cut a strip of the same fabric across the stretch, fold it, and stitch it to the edge with the raw edges together. Then wrap it over the seam allowance and topstitch from the front. Practicing on a small circle teaches you how much to stretch the binding around a tight curve without distorting it, and how to keep the back edge caught when you topstitch.
If the binding twists, your strip was probably cut along the length rather than across it. Cut a new strip and try again; the second attempt usually shows you immediately what the first one hid.
Finish seams so they hold in water
A serger is convenient but not required. A narrow zigzag close to the seam line, or an overlock-style stitch on a conventional machine, will stop a knit edge from curling and shedding. Trim the allowance to about a centimeter first, then finish it. Work the seam flat with a low iron and a press cloth, and check that no loose thread tails are caught inside.
Spend an afternoon sewing those four samples and label them with the settings that worked. Tape the labels to the machine or keep them in a small notebook. When a real garment misbehaves later, the answer is usually already written on a scrap.