Im another who gets these types of urges regularly. I wait for them to pass, they always pass.
If I feel unsafe with medication or sharp objects I steer well clear of them. I have been known to give my meds to neighbours to keep me safe but havent had to do that for a fair while because I've learned even if I get these urges I very rarely will act on them.