Get the current user location

How do i set or configure Map Box to select my exact location. it shows a different location

This depends on your browser settings and IP, whether you use VPN etc. because the location is fetched from the browser (it asks for permission to share it when you click Locate Me), so the precision may be different. For example, when I click it it shows the neighbor’s house address so the precision in my case is ±50m.