When is the best time to take a pregnancy test?

According to Glow, my period should come in 10 days. I had sex all week last week. Kind of protected, as in, he used a condom and then took it off half way through when he was about to relieve himself. We did this twice a day. Like once in the morning and once at night. Today, my pelvic area is very hard and uncomfortable feeling. I'm not sure if that's a period symptoms or pregnancy symptoms. I'm also slightly sad at the same time. Should I take a test now or is it too soon?