Why did this medication make me feel high on the first day but not afterward?

My doctor prescribed a medication containing an opioid, specifically 40 mg of tramadol, to treat my persistent chronic pain that doctors haven't been able to diagnose or resolve.

When I took it for the first time, I experienced a noticeable euphoric or high feeling, and my pain completely disappeared.

However, I've been taking it for the past 10 days, and it no longer seems to have any effect at all.

What could explain this? Why did it work so well on the first day but stop working afterward?

Why did this medication make me feel high on the first day but not afterward?
Post Opinion