What you have a curvature of the spine to the right. It's a defect of your spine. You got it because of some issue within your spine. It isn't something that is picked up like a cold or flu. How severe is it? What did your doctor say? did he have any suggestions for fixing it?
If you have a mild case, they may just watch it to see if it progresses. If it is severe they may have you wear a brace. The bad cases require surgery to straighten the spine.