Spotting

Is it normal to get a few days of spotting before my period starts and spotting after my period as well?