Syncing Apple iTunes to iPhone

Hello Experts,
I need your help! My iPhone 3gs won’t let me add things to it and it was synced with iTunes library. I erased all my songs and videos when I tried to do it manually. How can I put in things without losing them?
Waiting for solution.
