taking pills as bc... safe days?

im taking 21 days pack pills as bc. which days are safe, which days are not? is sex during pregnant safe?