There is no hard and fast rule, but you may want to apply a few general principals in making your decision about when to use "in front of" and when to use "before". "in front of" is used more when speaking of physical things. "Stop standing in front of the television.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.