Contraceptive pill

When do I start taking the pill?
Should I take it before or after my period?