I need help! weed related

I have scoliosis and my back pain has been so bad today I'm literally crying, and I have to be laying down and The pills I used to take would be ibuprofen 800mg  but stopped taking them because they  upset my stomach so I Turned to  medical marijuana and with 5 hits I would be good, I'm 5w3d I know it's bad to smoke  so I stopped completely once I found out but I just can't bare with the pain rn and I need ur guys advice on wether I should just do it this once to help with my back pain 😔😩