Pregnancy test before missed period

Can I take a pregnancy test before missed period I’m pretty sure I’m pregnant but I just wanted to know if anyone has done this before and if it was worth it or should I just wait