how to sell my game ? i want details pls

i will appreciate your help , i just need to know about how to sell my game

Could you clarify further as to what part of the publishing / selling process you are looking for information on? Is this about working with Epic on royalty fees, or publishing your game through such services as Steam?

for example i want to release it for pc , xbox or ps (or ios , android) now what ?do i have to pay thousends of dollars to release it ?

Not to Epic for releasing the game. To Epic you just pay royalties on your revenue.

The royalty is 5% (rather than 10%) of gross revenue (rather than profits) after the first $3,000 (rather than $5,000) of gross revenue per product per calendar quarter.

If you are asking what you must pay Epic on a game you sell made with Unreal.
From the agreement.

"pay to Epic 5% of all gross revenue after the first $3,000 per game or application per calendar quarter
(no matter where the money comes in from)

If, on the other hand, you are asking about costs to market for the various platforms…

PC-Windows or Linux. You can market freely.
Either selling through your own website, catalogue, etc, or through a commercial publisher or service such as Steam or Amazon.

XBox and PS - You have to sign up for membership as a Developer before you can deploy for these platforms (you need to demonstrate you are an actual business that produces something of quality)

Android is through Google, there is a $25 US / year fee.

For IOS(iPhone), the Apple Store asks a $99/year developer fee.

https://developer.apple.com/programs/how-it-works/

Where and how to pay UE4 5% after 3000$ ?