What do you do if somebody scared you while you were doing your home work and you swallowed your pen?

I think you need to go and see a qualified medical practitioner as soon as you can.