Steps:
In the Options section of the Add product screen, check This product has options, like size or color.
In Option name, enter a name for the option, such as Size . ...
In Option values, enter each option value in a separate field, for example Small , Medium , Large .