Bath bombs don't have an expiration date like food, but they will eventually lose their suds and scent over time. So it is best to use it within six months as the effects will wear off after six months to a year.
So if you have a bath bomb that you've had for a while but it doesn't seem to fizz or smell as good, it might be time to buy a new one.