HELP! Compressor now trips breaker on start up??

I How far away is your compressor from your breaker panel and how far away from the panel is the switch?