HELP: Insomnia and cramps!

Jordan
Hey everyone! So I had really bad insomnia Sunday and Monday night to where I had to take a muscle relaxer to get to sleep. Well yesterday (Wednesday 6/14) and today I've been having light cramps.
What do you guys think it could be? I should be starting my period in 9 days. My hubby and I have been casually TTC since I had my Nexplanon removed in Jan/Feb of this year, I think. 🤔 Recently I've been getting a little down because it hasn't been our time yet. 
When do you think I should take a test? 
Thank you!