Repair Regulation Elections

When do Use 'De Minimis safe Harbor election', 'Capitalize Repair and maintenance costs' or 'Small Taxpayer safe harbor election'?  I'm not sure when these are used.  Thank you in advance.