I’ve done many COVID tests; both the PCR and rapid tests (a few as precaution, some required for traveling, and some due to showing possible symptoms) but none have ever hurt. I’ve heard they hurt too, but I was pleasantly surprised when I went to my first one stressing about the pain I didn’t even end up feeling.(I’m sorry you had to do that. I heard they hurt. I hope you feel better soon.)
