If you get pricked from an unused needle nothing to worry about but if the needle is used you should get tested because used needle can spread various blood borne infections like
HIV,hbv etc
Next Steps
Wash thoroughly with soap and water
Health Tips
Get tested Asap if needle was used on the patient when you got the needle stick injury