I know it might sound hard now but just get on it, dont leave it any longer. Even just nip to the shops, go round the block a few times, build your confidence up from scratch. Dont overthink it and just ride safely as you usually would.
Hope it all works out for you