Should I take plan B

TMI but

when he was about to cum he pulled out but the condom stayed inside of me and his cum got all over my leg and on the floor. Am I fine or?...the opening of the condom was still outside of me