A sealed bottle stored in a closed cupboard, away from heat and direct sunlight, generally stays safe to use right up to its printed expiry date. Since your bottle is unopened and the expiry is still in 2027, the few weeks since you bought it don't mean it has spoiled.
Next Steps
Just check it hasn't changed colour, smell or texture before using it, and once you open it, finish it within the window mentioned on the label or pack insert.
Health Tips
If you're taking it for a specific reason, please check with your physician or pharmacist first to confirm it's still the right choice for you.