The picture you posted doesn't really have enough clarity to confirm spider mites.
If they are spider mites you can use neem oil or insecticidal soap to get rid of them.
They are numerous ways to prevent them from coming back, here are a couple.
Spider mites hate high humidity so you can try to raise the Rh in your grow area.
There are companion plants you can grow in the room with your cannabis such as coriander and basil, they both act as a great preventative measure for keeping a lot of common pest problems at bay.