If the pain persists, there are many things that could have been injured.
If the pain resolves, you can slowly return to bench. Even more important is to give it a period of pec and biceps rest, while working on scapular stabilizers. This involves using the opposite muscles of the back, doing reverse butterflies, rows, and scapular retractions. Then slowly resume pec/biceps.