I just have a question

My period is supposed to start tomorrow or the next day. There's a chance I could be pregnant. Can I take one of those tests that you take before your period? Will it be accurate?