What to do if I'm in a doubt, whether I have swallowed a needle or not?

Hospital. Go to the ER you need an xray if it is the standard steel needle it will show up on xray. If you did swallow one and did nothing there is a risk of puncturing your stomach or bowels.