Thanks for the query. These are possibly comedones and removing them with nails may cause a problem, you need to find why are they happening and it can be done easily by consulting a dermatologist. Salicylic acid based face washes can work well for you and chemical peels in multiple sessions can also be considered. Kindly consult a dermatologist for precise treatment plan.
Next Steps
A good skin care regimen comprises 4 steps - cleansing, toning, moisturizing and sun block. Based on your skin type, a dermatologist will recommend you appropriate products.
Health Tips
You can discontinue the medicatin for 2-3 days and use a moisturizer till it becomes normal. Consider re-starting gradually and for shorter contact time.