Docker-compose can't start again my containers because the networks are deleted

I made a docker-compose file with 3 containers and two networks, I lunched it by docker-compose up -d.
Now everything is fine, I stopped the containers using docker-compose stop.
After that, I typed docker network prune, this deleted also the two networks I already created in docker-compose file.
When I wanted to lunch the 3 containers with docker-compose start, I have an error that there is no network for these containers, please how to fix that?

I am afraid you’ll have to run docker-compose up -d again. As a result the network will be created, and since the new network will high likely have a different id, the containers will be recreated as well.