Soda while pregnant

Is it bad to drink soda while pregnant ? I feel terrible I drank a Dr Pepper