Hello, Nena,
Molarity is defined as moles/liter. 0.50M is 0.50 moles/liter.
Convert 250 ml to 0.25L and then multiply by the concentration:
(0.250L)*)0.50moles/L) = 0.125 moles
Use the units to determine what steps are needed to get the desired answer.
Bob