Eating or drinking out of genuine forgetfulness does not break the fast — the Prophet ﷺ said it is Allah who fed and gave drink. Likewise, unavoidable matters such as swallowing saliva, rinsing the mouth, or a blood test do not break it.
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.