A good tip is to wait until the race is over, then write out the slip and take it to the bookie saying you forgot to put the bet on, and is it alright to put it on now, especially as your horse won?
Bookies, being in the caring profession, are understanding and easily fooled.