You shouldn't have your computer screen to one side, it should be right in front of you like in this picture:
It's really easy to get RSI (repetitive strain injury) without doing anything particularly strenuous. I used to work at an Occupational Health centre, where they assessed work conditions, and poor posture at your work desk can really mess up your back.
safe office advice
You should try to get regular breaks where you stand up and walk around, perhaps even doing a spot of
office yoga.
The good news is, this is easily fixable and now you're aware of it, you can rectify the problem. You'll probably feel a lot better in about a week, if you change your workstation appropriately. I hope you feel better soon!