You probably have the bar too high
Make sure to squeeze your shoulder blades together while arching your back. Get the bar right down onto the trap muscles, there should be at least some padding there. If the bar is on bone then it is in the wrong position and this is dangerous. Dont be afraid to apply pressure to the bar with your hands, almost like you're trying to bend the bar over your back.