How does a PCR test really work

No.14144097 ViewReplyOriginalReport
So I'm wonder what does a PCR really test for? Is it true if you got a cold you'll test positive?
I'm trying to obtain a certificate since it's a pain in the ass taking a test each day. Not sure if there is a way to cheat it perhaps? Some help would be appreciated /sci/ bros