Elastics for lingerie
Quarter the opening and the elastic. Stretch the elastic to fit, and sew with a zigzag that lands on the elastic, not only on the cloth beside it. Fold-over elastic is folded in half over the edge and stitched through all layers. If the fold misses the raw edge, the cloth frays out later. A plush side, if the packet has one, faces the skin.
Do not press a synthetic elastic on a hot iron. Test a scrap.
Swim elastic is a different product. The swim elastic page says why.