Hi Mohamed R,
Your earnings will first go to upwork. Then you can use one of the withdrawal methods to collect money.
Paypal is one of the withdrawal method. But unfortunately you can't even receive money to a Sri Lankan Paypal account. It's only send and nothing else for a Sri Lankan paypal account.
Just go here and select Sri Lanka... you can see it yourself.