taking pain meds before I knew I was pregnant

I just took a test today and it was positive. I've been having severe back pain for a few weeks now; caused by a pulled muscle. I've been taking ibreprofren, Aleve, & Tylenol to try and subside the pain. Could this harm the fetus? Should I be worried?