Heavy flow related to medication?

Ashley • 👼 👼🌈

So last night I took some medication for a headache that my doctor prescribed, it was a muscle relaxer because she thinks I'm having stress headaches. Well fast forward to this morning and I wake up long before the sun comes up and I've bled through in the middle of the night. I clean up go back to sleep and this time I wake up with a small pool of blood under me. I have irregular periods anyway and I was already having pretty heavy flow but this was a lot more than normal. Could it have been related to the medicine I took last night?