Back pain is something that a huge percentage of people will suffer from at some point in their lives.
It can be incredibly debilitating, and it is something that you should take seriously, because if you allow your spine to give you serious problems then you will find that it is almost impossible to come back from that.
If you slouch a lot, then this will put pressure on the spine and over time the resulting muscle imbalances and pressure on the discs will cause a lot of problems.
If you are suffering from back pain, then taking anti-inflammatories can help you deal with the pain, but in the long term you will need to deal with the cause.
Rest in a way that takes pressure off your spine. Try to maintain good posture at all times
Look to strengthen your back. Wear clothing that supports your back, and find ways to perform your day to day duties without excessive twisting, bending, or picking up heavy loads.
As you modify your activities, you will find that you can gradually get stronger, and hopefully the pain will subside without need for surgery.