If you're not in a legal state, look into delta-8 products. They're derived from hemp instead of cannabis, so they're legal in most places (in the US, at least), and they contain THC delta-8, which is a very slightly different molecule from the THC found in cannabis. Different enough that it's legal enough to be sold in gas stations and smoke shops.
I find that they tend to have a lot of the pain relief and relaxation effects of normal cannabis, but without nearly as much of the psychoactive components. You can still get high on delta-8 products if you really want to, but it requires a lot more product than regular cannabis to get to that point, so it's not a financially sound way to get high.
You can get delta-8 in a lot of different types of products, from edibles to vape liquids to hemp flower that you basically smoke like regular weed. Personally, I'd recommend the vape products, as they tend to go into effect quickly and it's pretty easy to control your dosage with them.