I edited you question to be a little more clear. In order to prepare any given volume of 0.1 M NaOH solution you just need to multiply the desired volume in liters by 0.1 to get the number of moles of NaOH needed and then multiply again by 40 grams/mole to get the mass of NaOH needed in grams (the molecular weight of NaOH is 40 grams/mole).
For example: if you wanted 100 mL of a 0.1 M NaOH solution:
100 mL*(1 L/1000 mL)=0.1 liters
0.1 L (0.1 mole/L)(40 grams/mole)=0.4 grams NaOH
So you would take 0.4 grams (400 mg) of NaOH and dissolve it in 100 mL of water.