How do you get a FIDE ID
https://www.chess.com/forum/view/general/get-fide-id
A lengthy thread which basically says that the way you get an id is to play in FIDE rated tournaments.
How do you find FIDE rated tournaments? It depends on where you live. Your flag suggests you may be Nigerian.
https://ratings.fide.com/tournament_list.phtml?country=NGR
You can look at FIDE.com for a listing of major international events.