Wart on finger??

It first started maybe 2 weeks ago and has just gotten bigger and it’s a little painful to the touch or when o hit it on something. Is this a wart and how do I treat it?