how to use birth control?

Chloe
My boyfriend and l want to have sex without using condom. But l know it is not safe even tho he will withdrawal it. If l wannause birth control, when l can use it before having sex? is it ok to use it if my period just end? And side effect? Please.