Choose a dust mask that has the word "NIOSH" and/or "N95" or "KN95" printed on it. These dust masks will have two straps that go around your head.
Choose a size that will fit snug over your nose and under your chin to create a good seal to your face.
Don't choose a one-strap dust mask or surgical mask that hooks around your ears; these will not protect you against the fine particles in smoke.
Don't use wet or dry bandanas or towels or tissue held over the mouth and nose. They will not protect your lungs from wildfire smoke.