Depression

Taylor

So I have been taking the pill for almost a year now and recently for the past month I have been having anxiety attacks and depression. Nothing drastic in my life has happened but I have not been very good at taking my pill on time. Is this all pill related or am I going crazy?