Pregnancy test

Will a pregnancy test be very accurate if you take it 18dpo no matter what test you use?