ok so i got a character with a gun and stuff like that anywas when i press p to start it up he goes flying to the middle of nowhere
Upload a blend file so people can see your work so far.
You need to make sure you have no overlapping objects with physics enabled when starting the game. If you actually need physics on two (or more) overlapping objects, set them to be a compound physics object so they don’t collide with each other.
In other words, set your gun to no collision. It happens all the time with me.