missing period.. please help

ive been on the pill for almost a year now and i missed two or three pills in my last pack so i kinda expect my period to be irregular i also have been having unprotected sex but he pulls out. this past two months i havent got my period altho i did have some dark red/brown discharge for two days about 2 weeks ago wtf is happening im also 17