If you've booked with BA, you can pay for an upgrade at any time. If you've booked through a travel agent, you can upgrade from 24 hours before your departure time.

Go to 'Manage My Booking' and enter your booking reference and last name to retrieve your travel details.