Masturbation on period

Can you masturbate through a pad?