How early can tou test??

My period is in a week I have been late taking some pills.... Hmm how early can I test?? My boobs hurt and that's what's making me worry. I never get that unless I was pregnant.... 😱😱😱😱