What was the trigger for your back pain? During my experience in gym I've seen many weight lifters facing this issue, and the reason behind the issue is lifting heavy weight without proper training and wrong posture. Many weight lifters wear weight lifting belt to prevent weight lifting belt, because it supports the back. You can see its benefits here https://www.aqfsports.com/blogs/news/definitive-weightlifting-belts-guide , There may be many potential causes of back pain and the way of treating it will be different for each case.