Help ?

It’s been about 3 weeks now since I’ve gotten off birth control the pill one and I haven’t gotten my period....should I take a pregnancy test ?