PIR Sensor Question

I read the transistor and take it to LOW if it is HIGH and then I pause the program due to my physical PIR/Relay setup. If I don't it spams the PC.