It is best to counter prior to the expiration of the offer. Most offers expire within 72 hours, but can be shorter.
Even if you do not like the initial offer, it is always best to make a counter offer that tells a buyer what you would do in writing, rather than verbally rejecting the offer outright.