When one is developed, would you get the shot as a preventative measure?

I have never gotten the Flu shot and am not sure I would get a Covid shot when developed...