Underwear sizing is notoriously tricky (S/M/L vs. cup sizes).
Would you like a list of common tools used for pattern making?
Invest in a legitimate, well-reviewed patternmaking PDF. Practice with cheap fabric. Re-draft until the fit is perfect. And remember: the best underwear is the underwear that fits you —and with the right patternmaking guide, that is exactly what you will create.