When to test?

Last month I had unprotected sex a few times but he always pulled out. I had one condom break but he also pulled out when that happened and it went everywhere, so I'm fairly certain none went into me. My period is fairly irregular but had been coming around the fifth or the sixth of the month for a while. I haven't gotten it yet and I had some brown spotting a few weeks ago. I usually have a big appetite but nothing really sounds good lately but that could just be because I've recently cut dairy completely out of my diet. I haven't had much symptoms but I had awful cramping one day and I feel a little off. I think my gut would tell me if I was pregnant so I haven't taken a test but I'm wondering if I should.